Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Interfacing C DLL with Fox.
Message
From
24/09/1998 07:43:12
 
 
To
23/09/1998 21:14:05
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00139024
Message ID:
00140288
Views:
28
>>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

Thank you. You guys are real encyclopaedias of C.
You've all been very helpful as usual and thanks to you, I know a little more now.
Alexandre Nobre
Alpha Bytes Computer Corp.

Did you know that there are innocent people dying in East Timor?
It helps if you do...

I suppose you don't need glasses if you're able to read this line

Previous
Reply
Map
View

Click here to load this message in the networking platform