Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
MFC and .DLLs
Message
 
 
To
31/05/1998 15:35:13
Christopher Jones
Enersys Analytics Inc.
Toronto, Ontario, Canada
General information
Forum:
Visual FoxPro
Category:
Windows API functions
Title:
Miscellaneous
Thread ID:
00103484
Message ID:
00103492
Views:
20
Christopher,

DECLARE DLL is the way to go, forget the baloney you need to use the LCK. On my website is an example in the spyin.zip, it's got both the needed VFP and VC++ code.

>I am trying to create a .DLL for use with a Visual Foxpro application. I am using Visual C++ 5.0. I have created a Regular MFC DLL but it fails on the SET LIBRARY TO command. I can access individual functions with the DECLARE...DLL function. The other problem is when I try to include the Library Construction Kit capabilities the are shipped with Visual Foxpro. I can create a Windows DLL and include the LCK but when I try to create a MFC DLL and include the LCK I get tons of linker errors.
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