Information générale
Catégorie:
COM/DCOM et OLE Automation
>>>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
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement