Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Interfacing C DLL with Fox.
Message
From
23/09/1998 21:14:05
 
 
To
23/09/1998 13:27:41
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00139024
Message ID:
00140169
Views:
33
>You mean that I can pass only one NTS from C to Fox?

And, to respond to your question :) : You can returne from C and of the primitive types accepted by VFP. To return a string:
char* myfunc()
{
   //-- It's important to allocate the string dynamically
   char* mystring = malloc(100);

   // do something with mystring

   return mystring;
}
You just can't returned a structure as a string (because of that chr(0)).

Vlad
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform