in your C code, FN is returning a struct_name function, but it is declared as a string (char *)
Be careful,
VB is not friend with C methods returning structures. It is better to pass the structure (by ref) as a parameter of the method itself:
void FN(char *variable1,char *variable2, struct_char *p)
Second, the declaration of the
VB udt (struct_CustInfo) does not match the defintion of the C structure.
And in any way, the parameters of the C structure are pointers, that
VB does not know how to handle. What are you trying to accomplish with this? Maybe there are better solutions.
Marco