I've got a DLL and header file, that contains
extern "C" {
//some other delarations
__declspec(dllexport) int __stdcall myfunc (unsigned char*& p1);
typedef int (__stdcall* PROCESS)(unsigned char*);
}
It's apparently for C++, but I need to use it in C program
I replaced this declaration by
SLIB_API int __stdcall process (unsigned char** p);
Does anybody have an idea why this doesn't work?
Regards, Dima
extern "C" {
//some other delarations
__declspec(dllexport) int __stdcall myfunc (unsigned char*& p1);
typedef int (__stdcall* PROCESS)(unsigned char*);
}
It's apparently for C++, but I need to use it in C program
I replaced this declaration by
SLIB_API int __stdcall process (unsigned char** p);
Does anybody have an idea why this doesn't work?
Regards, Dima