Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
GlobalLock()
Message
General information
Forum:
Visual FoxPro
Category:
Windows API functions
Title:
Miscellaneous
Thread ID:
00101339
Message ID:
00102453
Views:
28
>Can that version oc C++ create 32 bit DLLs? VFP can't call into old 16 bit DLLs.

Definitely not. Had I been able to create the DLL, I was going to use FoxTools in order to register and call the functions within it. Kinda klunky, but it would have been better than nothing.

However! My troubles are at an end (so far). Thanks to George Tasker's tip, I'm able to use some alternate memory allocation functions (One being the HeapAlloc() he pointed out). I can't remember the other functions (I'm at home now). They basically allow you to create a memory heap and allocate memory space within that heap. The function that allocates memory within the heap returns a pointer to that memory space. That value is usable in my program as I'm now able to use the functions in my custom DLL (finally!). I've only used 3 or 4 functions so I'm not sure if I should be jumping for joy too soon. But I'm pretty sure the rest of the functions will work just fine. If anyone is interested in how I used the WIN32API to allocate memory withing VFP, let me know. It's actually pretty simple.

Thanks again!
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform