Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
DLL's????
Message
 
 
To
16/09/1998 17:27:08
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:
00137363
Message ID:
00137574
Views:
20
Jim,

Run REGSVR32 /? to see it's list of options. Unregister the old server to get rid of it then delete the .dll.

After that the server name ProjectName.OLEPublicClassName, the dll name will be ProjectName.DLL. Where ProjectName and OLEPublicClassName are whatever you happened to name them.

You have the correct syntax for instantiating the COM server you created in the DLL. Note you are NOT creating a DLL that has functions and an API like the Win32 API calls you can make via DECLARE DLL command.

>I am changing the name because the first dll I made was just a test. Now we want to use dlls in one of our projects. The line that is giving me the error is as follows: oObj = createobject("dlltest.aeclass"). Creating an object is the only way I have found dlls to work. Is this not correct?
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