06-18-2019 08:18 AM - edited 06-18-2019 08:23 AM
Using ts to call the C++ module DLL written by vs. The parameters of the function have not been displayed. Is my interface written in C++ wrong? Sincerely ask for helpThis is my module editing interface, there is no function variable a, b
This is my Cpp
This is my header file
This is my module editing interface, there is no function variable a, b
08-08-2019 04:34 AM
you can new a lib project ,project have a .def file, you can write dll extern name in that file . like this:
; EncryptionLibrary.def : 声明 DLL 的模块参数。
LIBRARY
EXPORTS
; 此处可以是显式导出
des_encrypt @1
des_decrypt @2
Base64ToNomalCode @3
NomalCodeToBase64 @4
des_encrypt_char @5
des_decrypt_char @6
Base64ToNomalCode_char @7
NomalCodeToBase64_char @8
generateRSAKey @9
rsa_pub_encrypt @10
rsa_pri_decrypt @11
rsa_pri_decryptFile @12
Base64ToNomalCode_cplus @13
Createsharememory @14
Readsharememory @15
Writesharememory @16
rsa_pub_encrypt_cplus @17
rsa_pri_decrypt_cplus @18
rsa_pri_decryptFile_cplus @19