Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
DLL's????
Message
 
 
À
16/09/1998 17:27:08
Jim Rieck
Quicken Loans/Rock Financial/Title Sourc
Livonia, Michigan, États-Unis
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Titre:
Divers
Thread ID:
00137363
Message ID:
00137574
Vues:
19
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
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform