Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Does a DLL by definition use the registry?
Message
From
22/07/2005 16:04:12
 
 
To
22/07/2005 15:09:19
General information
Forum:
Visual FoxPro
Category:
COM/DCOM and OLE Automation
Environment versions
Visual FoxPro:
VFP 8 SP1
OS:
Windows XP SP2
Network:
Windows 2003 Server
Database:
Visual FoxPro
Miscellaneous
Thread ID:
01035247
Message ID:
01035274
Views:
14
Actually, that is not entirely true.

You can build a vfp DLL without having an OLEpublic in it if you do the following.
Modify Project test nowait
_vfp.ActiveProject.Build("Test.DLL",4)

DECLARE SomeFunction in Test.dll
The DLL compiles without error, and with attempt to register itself. Plus the Declare statement does not through any errors either when executed. Unfortunately any attempt to call the function raises the error "Cannot find entry point SomeFunction in the DLL".

So far, all in all, the procedure outlined above is useless. But I would truly like to be able to create standard Win32 DLLs out of VFP to be reusable parts of my application. So far, I have had to rely on APP type of modules. But DLLs would look more professional to knowledgeable client.


>COM DLLs need to be registered, standard Win32 DLLs (cannot be created in VFP) do not.
>
>>Do all DLLs have to be registered? Is that just part of what a dll is? Are there DLLs that can be used by VFP without being registered?
>>
>>Thanks for your help.
>>
>>Rodd
Greg Reichert
Previous
Reply
Map
View

Click here to load this message in the networking platform