Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How can I register a COM object?
Message
From
07/11/2001 09:43:29
 
 
To
06/11/2001 18:30:36
General information
Forum:
Visual FoxPro
Category:
COM/DCOM and OLE Automation
Miscellaneous
Thread ID:
00578255
Message ID:
00578477
Views:
16
>>>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.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform