G
Gary Hagerty
Guest
Hello All,
I am trying to interface my VB6 with a DLL written in C++. The DLL was actually written by someone else here at the company who I do not have access to at the moment.
The function that I need to call is declared as follows:
//int a35dbd7v2(int service, int AC0_CryptoKeyTable, unsigned char* seed, unsigned char* key);
VBDLLFUNC(int) MDNSa35dbd7v2(int service, int AC0_CryptoKeyTable, unsigned char* seed, unsigned char* key) {
return (a35dbd7v2(service, AC0_CryptoKeyTable, seed, key));
}
Where #define VBDLLFUNC(TypeName) DLLEXPORT TypeName __stdcall
The question that I have is this, what would the declare look like in VB6?
What is the equivalent to unsigned char*?
Please advise
Thank you
Gary
Continue reading...
I am trying to interface my VB6 with a DLL written in C++. The DLL was actually written by someone else here at the company who I do not have access to at the moment.
The function that I need to call is declared as follows:
//int a35dbd7v2(int service, int AC0_CryptoKeyTable, unsigned char* seed, unsigned char* key);
VBDLLFUNC(int) MDNSa35dbd7v2(int service, int AC0_CryptoKeyTable, unsigned char* seed, unsigned char* key) {
return (a35dbd7v2(service, AC0_CryptoKeyTable, seed, key));
}
Where #define VBDLLFUNC(TypeName) DLLEXPORT TypeName __stdcall
The question that I have is this, what would the declare look like in VB6?
What is the equivalent to unsigned char*?
Please advise
Thank you
Gary
Continue reading...