How can I pass a char * from C dll to VB
Here is sample code:
void Cfunc(char *buffer,int len) { BSTR buf_bstr = SysAllocString((BSTR)buffer); V
instead of char* array,try _tchar* array.Because Sysallocstring takes only the Unicode characters in a 32 bit application.