Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How can I register a COM object?
Message
De
07/11/2001 09:43:29
 
 
À
06/11/2001 18:30:36
Information générale
Forum:
Visual FoxPro
Catégorie:
COM/DCOM et OLE Automation
Divers
Thread ID:
00578255
Message ID:
00578477
Vues:
15
>>>Copy the DLL and the TLB onto the target machine, then in a DOS window:
>>>
>>>REGSVR32 MyCOM.DLL
>>>
>>Thanks for the quick response Greg.
>>
>>I knew about the regsvr32 program but it doesn't work (Bad command or file name). Remember that I am under Windows 98...
>>
>>Stephane.
>
>If it's not a dev machine as well, make sure the vfp run-times are on the 98 machine. (\windows\system directory on 98, if I remember correctly...)
>
>If they are and the dll is built as a multi-threaded dll, make sure the vfp6t.dll is there as well.

Everything seems in order. I had to copy the regsvr32 program in the windows/system directory and adjust my PATH variable but other than that, regsvr32 is now working.

Now that I am able to run it, I get an error from regsvr32 that it is unable to load the library. What am I (again) doing wrong?

Btw, you are all talking about DLL's but my COM object is compiled as an EXE, is this a problem?

Thanks again, Stephane.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform