Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Accessing CStrings in DLLs from VP5
Message
General information
Forum:
Visual FoxPro
Category:
Windows API functions
Miscellaneous
Thread ID:
00090588
Message ID:
00091088
Views:
27
David,

Did you indeed check that you had the case of the name correct?

It's not that VFP can't access member functions the code I posted specifically shows how easy that is, what isn't easy is memory allocation between two independent processes. Which is why every API call that I can think of requires the caller to allocate the memory and give the callee a pointer to it.

CString isn't a member function it's just a C++ class that makes strings a whole lot easier to use in C++ than they were in C.

>Thanks for the testing, it saves me a lot of frustration. I'll see if I can get more info about DLL and if not I'll build the "wrapper" to access this members.
>It is weird that a program like VFP which has parts of OO does not seem to be able to accesss the OO member functions from the DLL. Maybe is something coming with the next release ?
df (was a 10 time MVP)

df FoxPro website
FoxPro Wiki site online, editable knowledgebase
Previous
Reply
Map
View

Click here to load this message in the networking platform