Hi all
I create a dll file in c and call from vb. I was working with integers its working properly. I need in that dll the functions get passing agruments is two string and return the concatinated strings using pointers
i wrote like these,
char * _stdcall StringPassed(ch ar *a,char *b,char *c)
{
strcpy(c,a);
strcat(c,b);
return *c;
}
get two strings in a and b and return the concatinated string in C.
kindly any one reply favourable
I create a dll file in c and call from vb. I was working with integers its working properly. I need in that dll the functions get passing agruments is two string and return the concatinated strings using pointers
i wrote like these,
char * _stdcall StringPassed(ch ar *a,char *b,char *c)
{
strcpy(c,a);
strcat(c,b);
return *c;
}
get two strings in a and b and return the concatinated string in C.
kindly any one reply favourable
Comment