Measurement Studio for VC++

cancel
Showing results for 
Search instead for 
Did you mean: 

Help with problems when calling C++ DLLs

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, bThis is my module editing interface, there is no function variable a, bThis is my CppThis is my CppThis is my header fileThis is my header fileThis is my module editing interface, there is no function variable a, bThis is my module editing interface, there is no function variable a, b

0 Kudos
Message 1 of 2
(2,549 Views)

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

0 Kudos
Message 2 of 2
(2,408 Views)