1創(chuàng)建空的dll項(xiàng)目。
2.復(fù)制源文件到s2022
2.創(chuàng)建新的connNa
/* do not edit this file-it is machine generated */
#include jni.h
用于Class connativeautobszsdown的/*標(biāo)頭*/
# if ndef _ included _ connativeautobszsdown
# define _ included _ connativeautobszsdown
#ifdef __cplusplus
Extern 'C' {
#endif
/*
* class : connativeautobszsdown
* Method: ShowOpen
* signature :(LJ ava/lang/string);ljava/lang/String;)I
*/
JNI export JNI call Java _ connativeautobszsdown _ show open
(JNI env *、jobject、jstring、jstring);
/*
* class : connativeautobszsdown
* Method: ShowClose
* signature :(LJ ava/lang/string);ljava/lang/String;)I
*/
JNI export JNI call Java _ connativeautobszsdown _ showclose
(JNI env *、jobject、jstring、jstring);
/*
* class : connativeautobszsdown
* Method: zsExit
* signature :(LJ ava/lang/string);ljava/lang/String;)I
*/
JNI export JNI call Java _ connativeautobszsdown _ zs exit
(JNIEnv *、jobject、jstr
ing, jstring); /* * Class: connNativeAutoBSZSDOWN * Method: zsClose * Signature: (Ljava/lang/String;Ljava/lang/String;)I */ JNIEXPORT jint JNICALL Java_connNativeAutoBSZSDOWN_zsClose (JNIEnv *, jobject, jstring, jstring); /* * Class: connNativeAutoBSZSDOWN * Method: zsInit * Signature: (Ljava/lang/String;Ljava/lang/String;)I */ JNIEXPORT jint JNICALL Java_connNativeAutoBSZSDOWN_zsInit (JNIEnv *, jobject, jstring, jstring); /* * Class: connNativeAutoBSZSDOWN * Method: zs * Signature: (Ljava/lang/String;Ljava/lang/String;)I */ JNIEXPORT jint JNICALL Java_connNativeAutoBSZSDOWN_zs (JNIEnv *, jobject, jstring, jstring); /* * Class: connNativeAutoBSZSDOWN * Method: zspath * Signature: (Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)I */ JNIEXPORT jint JNICALL Java_connNativeAutoBSZSDOWN_zspath (JNIEnv *, jobject, jstring, jstring, jstring, jstring); /* * Class: connNativeAutoBSZSDOWN * Method: down * Signature: (Ljava/lang/String;)I */ JNIEXPORT jint JNICALL Java_connNativeAutoBSZSDOWN_down (JNIEnv *, jobject, jstring); /* * Class: connNativeAutoBSZSDOWN * Method: chkdown * Signature: (Ljava/lang/String;)I */ JNIEXPORT jint JNICALL Java_connNativeAutoBSZSDOWN_chkdown (JNIEnv *, jobject, jstring); /* * Class: connNativeAutoBSZSDOWN * Method: lookup * Signature: (Ljava/lang/String;)V */ JNIEXPORT void JNICALL Java_connNativeAutoBSZSDOWN_lookup (JNIEnv *, jobject, jstring); /* * Class: connNativeAutoBSZSDOWN * Method: Init * Signature: (Ljava/lang/String;Ljava/lang/String;)V */ JNIEXPORT void JNICALL Java_connNativeAutoBSZSDOWN_Init (JNIEnv *, jobject, jstring, jstring); /* * Class: connNativeAutoBSZSDOWN * Method: InitTYPENAMEPWD * Signature: (Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)I */ JNIEXPORT jint JNICALL Java_connNativeAutoBSZSDOWN_InitTYPENAMEPWD (JNIEnv *, jobject, jstring, jstring, jstring); /* * Class: connNativeAutoBSZSDOWN * Method: Out * Signature: (Ljava/lang/String;)V */ JNIEXPORT void JNICALL Java_connNativeAutoBSZSDOWN_Out (JNIEnv *, jobject, jstring); /* * Class: connNativeAutoBSZSDOWN * Method: PATDX * Signature: (Ljava/lang/String;)I */ JNIEXPORT jint JNICALL Java_connNativeAutoBSZSDOWN_PATDX (JNIEnv *, jobject, jstring); /* * Class: connNativeAutoBSZSDOWN * Method: TDX * Signature: (Ljava/lang/String;)I */ JNIEXPORT jint JNICALL Java_connNativeAutoBSZSDOWN_TDX (JNIEnv *, jobject, jstring); /* * Class: connNativeAutoBSZSDOWN * Method: SHOWTYPENAME * Signature: (Ljava/lang/String;Ljava/lang/String;)I */ JNIEXPORT jint JNICALL Java_connNativeAutoBSZSDOWN_SHOWTYPENAME (JNIEnv *, jobject, jstring, jstring); /* * Class: connNativeAutoBSZSDOWN * Method: LOCK * Signature: (Ljava/lang/String;Ljava/lang/String;)I */ JNIEXPORT jint JNICALL Java_connNativeAutoBSZSDOWN_LOCK (JNIEnv *, jobject, jstring, jstring); /* * Class: connNativeAutoBSZSDOWN * Method: OutHWND * Signature: (Ljava/lang/String;)V */ JNIEXPORT void JNICALL Java_connNativeAutoBSZSDOWN_OutHWND (JNIEnv *, jobject, jstring); /* * Class: connNativeAutoBSZSDOWN * Method: RefreshHWND * Signature: (Ljava/lang/String;)V */ JNIEXPORT void JNICALL Java_connNativeAutoBSZSDOWN_RefreshHWND (JNIEnv *, jobject, jstring); /* * Class: connNativeAutoBSZSDOWN * Method: DeleteHWND * Signature: (Ljava/lang/String;)V */ JNIEXPORT void JNICALL Java_connNativeAutoBSZSDOWN_DeleteHWND (JNIEnv *, jobject, jstring); /* * Class: connNativeAutoBSZSDOWN * Method: findnameBBSUMTDXHWND * Signature: (Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)V */ JNIEXPORT void JNICALL Java_connNativeAutoBSZSDOWN_findnameBBSUMTDXHWND (JNIEnv *, jobject, jstring, jstring, jstring); /* * Class: connNativeAutoBSZSDOWN * Method: findnameSSSUMTDXHWND * Signature: (Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)V */ JNIEXPORT void JNICALL Java_connNativeAutoBSZSDOWN_findnameSSSUMTDXHWND (JNIEnv *, jobject, jstring, jstring, jstring); /* * Class: connNativeAutoBSZSDOWN * Method: OutHWNDS * Signature: (Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)V */ JNIEXPORT void JNICALL Java_connNativeAutoBSZSDOWN_OutHWNDS (JNIEnv *, jobject, jstring, jstring, jstring); /* * Class: connNativeAutoBSZSDOWN * Method: RefreshHWNDS * Signature: (Ljava/lang/String;Ljava/lang/String;)I */ JNIEXPORT jint JNICALL Java_connNativeAutoBSZSDOWN_RefreshHWNDS (JNIEnv *, jobject, jstring, jstring); /* * Class: connNativeAutoBSZSDOWN * Method: DeleteHWNDS * Signature: (Ljava/lang/String;Ljava/lang/String;)V */ JNIEXPORT void JNICALL Java_connNativeAutoBSZSDOWN_DeleteHWNDS (JNIEnv *, jobject, jstring, jstring); /* * Class: connNativeAutoBSZSDOWN * Method: findnameBBSUMTDXHWNDS * Signature: (Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)I */ JNIEXPORT jint JNICALL Java_connNativeAutoBSZSDOWN_findnameBBSUMTDXHWNDS (JNIEnv *, jobject, jstring, jstring, jstring, jstring, jstring); /* * Class: connNativeAutoBSZSDOWN * Method: findnameSSSUMTDXHWNDS * Signature: (Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)I */ JNIEXPORT jint JNICALL Java_connNativeAutoBSZSDOWN_findnameSSSUMTDXHWNDS (JNIEnv *, jobject, jstring, jstring, jstring, jstring, jstring); /* * Class: connNativeAutoBSZSDOWN * Method: findnameBBSUMTDXHWNDSPRICE * Signature: (Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)I */ JNIEXPORT jint JNICALL Java_connNativeAutoBSZSDOWN_findnameBBSUMTDXHWNDSPRICE (JNIEnv *, jobject, jstring, jstring, jstring, jstring, jstring); /* * Class: connNativeAutoBSZSDOWN * Method: findnameSSSUMTDXHWNDSPRICE * Signature: (Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)I */ JNIEXPORT jint JNICALL Java_connNativeAutoBSZSDOWN_findnameSSSUMTDXHWNDSPRICE (JNIEnv *, jobject, jstring, jstring, jstring, jstring, jstring); /* * Class: connNativeAutoBSZSDOWN * Method: findnameBB * Signature: (Ljava/lang/String;)V */ JNIEXPORT void JNICALL Java_connNativeAutoBSZSDOWN_findnameBB (JNIEnv *, jobject, jstring); /* * Class: connNativeAutoBSZSDOWN * Method: findnameSS * Signature: (Ljava/lang/String;)V */ JNIEXPORT void JNICALL Java_connNativeAutoBSZSDOWN_findnameSS (JNIEnv *, jobject, jstring); /* * Class: connNativeAutoBSZSDOWN * Method: findnameBBSUM * Signature: (Ljava/lang/String;Ljava/lang/String;)V */ JNIEXPORT void JNICALL Java_connNativeAutoBSZSDOWN_findnameBBSUM (JNIEnv *, jobject, jstring, jstring); /* * Class: connNativeAutoBSZSDOWN * Method: findnameSSSUM * Signature: (Ljava/lang/String;Ljava/lang/String;)V */ JNIEXPORT void JNICALL Java_connNativeAutoBSZSDOWN_findnameSSSUM (JNIEnv *, jobject, jstring, jstring); /* * Class: connNativeAutoBSZSDOWN * Method: findnameBBSUMTDX * Signature: (Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)V */ JNIEXPORT void JNICALL Java_connNativeAutoBSZSDOWN_findnameBBSUMTDX (JNIEnv *, jobject, jstring, jstring, jstring); /* * Class: connNativeAutoBSZSDOWN * Method: findnameSSSUMTDX * Signature: (Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)V */ JNIEXPORT void JNICALL Java_connNativeAutoBSZSDOWN_findnameSSSUMTDX (JNIEnv *, jobject, jstring, jstring, jstring); /* * Class: connNativeAutoBSZSDOWN * Method: findnameBBSUMTDXTEST * Signature: (Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)V */ JNIEXPORT void JNICALL Java_connNativeAutoBSZSDOWN_findnameBBSUMTDXTEST (JNIEnv *, jobject, jstring, jstring, jstring); /* * Class: connNativeAutoBSZSDOWN * Method: findnameSSSUMTDXTEST * Signature: (Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)V */ JNIEXPORT void JNICALL Java_connNativeAutoBSZSDOWN_findnameSSSUMTDXTEST (JNIEnv *, jobject, jstring, jstring, jstring); /* * Class: connNativeAutoBSZSDOWN * Method: findnameOutHWND * Signature: ()V */ JNIEXPORT void JNICALL Java_connNativeAutoBSZSDOWN_findnameOutHWND (JNIEnv *, jobject); /* * Class: connNativeAutoBSZSDOWN * Method: findnameBBSUMZS * Signature: (Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)V */ JNIEXPORT void JNICALL Java_connNativeAutoBSZSDOWN_findnameBBSUMZS (JNIEnv *, jobject, jstring, jstring, jstring); /* * Class: connNativeAutoBSZSDOWN * Method: findnameSSSUMZS * Signature: (Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)V */ JNIEXPORT void JNICALL Java_connNativeAutoBSZSDOWN_findnameSSSUMZS (JNIEnv *, jobject, jstring, jstring, jstring); /* * Class: connNativeAutoBSZSDOWN * Method: findnameBBB * Signature: (Ljava/lang/String;)V */ JNIEXPORT void JNICALL Java_connNativeAutoBSZSDOWN_findnameBBB (JNIEnv *, jobject, jstring); /* * Class: connNativeAutoBSZSDOWN * Method: findnameSSB * Signature: (Ljava/lang/String;)V */ JNIEXPORT void JNICALL Java_connNativeAutoBSZSDOWN_findnameSSB (JNIEnv *, jobject, jstring); /* * Class: connNativeAutoBSZSDOWN * Method: findnameB * Signature: (Ljava/lang/String;)V */ JNIEXPORT void JNICALL Java_connNativeAutoBSZSDOWN_findnameB (JNIEnv *, jobject, jstring); /* * Class: connNativeAutoBSZSDOWN * Method: findnameS * Signature: (Ljava/lang/String;)V */ JNIEXPORT void JNICALL Java_connNativeAutoBSZSDOWN_findnameS (JNIEnv *, jobject, jstring); /* * Class: connNativeAutoBSZSDOWN * Method: findnameAutoB * Signature: (Ljava/lang/String;)V */ JNIEXPORT void JNICALL Java_connNativeAutoBSZSDOWN_findnameAutoB (JNIEnv *, jobject, jstring); /* * Class: connNativeAutoBSZSDOWN * Method: findnameAutoS * Signature: (Ljava/lang/String;)V */ JNIEXPORT void JNICALL Java_connNativeAutoBSZSDOWN_findnameAutoS (JNIEnv *, jobject, jstring); #ifdef __cplusplus } #endif #endif3.新建一個(gè)2022.cpp
4.生成dll
1.《【vc60教程】在Vc60上*。生成dll的過(guò)程》援引自互聯(lián)網(wǎng),旨在傳遞更多網(wǎng)絡(luò)信息知識(shí),僅代表作者本人觀點(diǎn),與本網(wǎng)站無(wú)關(guān),侵刪請(qǐng)聯(lián)系頁(yè)腳下方聯(lián)系方式。
2.《【vc60教程】在Vc60上*。生成dll的過(guò)程》僅供讀者參考,本網(wǎng)站未對(duì)該內(nèi)容進(jìn)行證實(shí),對(duì)其原創(chuàng)性、真實(shí)性、完整性、及時(shí)性不作任何保證。
3.文章轉(zhuǎn)載時(shí)請(qǐng)保留本站內(nèi)容來(lái)源地址,http://f99ss.com/gl/2504404.html