I have queries regarding dll create in c/c++ that been use in vb6.
What suitable data type i have to use in vb6 for c/c++ dll function that using char, unsigned char, short, unsigned short, unsigned int and unsigned long for it arguments data type. I encounter error Bad DLL Calling Convention most of the time.

howdy!
try this and get back to me
c++ / vb equivalent
char /string
short /integer
unsigned short/ integer
unsigned inte /integer
unsigned long /long

I have queries regarding dll create in c/c++ that been use in vb6.
What suitable data type i have to use in vb6 for c/c++ dll function that using char, unsigned char, short, unsigned short, unsigned int and unsigned long for it arguments data type. I encounter error Bad DLL Calling Convention most of the time.