Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
DLL Hell P2
Message
From
12/09/2000 14:17:17
Jim Rieck
Quicken Loans/Rock Financial/Title Sourc
Livonia, Michigan, United States
 
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Title:
Miscellaneous
Thread ID:
00415475
Message ID:
00415491
Views:
19
Thanks for the response. Are you saying that a DLL created in VFP or VB cannot be accessed without creating an object?

Jim

>>I created a DLL in Foxpro and tried calling it from Excel 97. Then we created a DLL with VB 6.0 and tried calling it from Foxpro. We keep getting, the ever famous, Cannot find Entry point (DLL Name) in the DLL. Microsoft's website say it is case sensitivity issue, but we checked and double checked all that, everything is exact. Has anyone had this same problem? Does anyone know what is wrong?
>>
>>Thanks,
>>
>Jim,
>
>The DLL you created was a COM object. Unlike a C style DLL, the COM object has to be registered and the object generated via its ProgID. While a call to a DLL in the API is case sensitive, ProgIDs are not.
>
>In order to register the DLL you can use RegSvr32 or the DLL's internal registration function DllRegisterServer(). Once this has been done, you can then access it with:
oObject = CREATEOBECT("MyDll.MyServer")
and call the methods as you would with any other object.
Thanks

Jim
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform