General information
Category:
COM/DCOM and OLE Automation
After created it as a DLL, my Form generated another error:
OLE error code 0x80040154: Class not registered
on the third line of my form's Load method.
Here is my form's Load method:
1 PUBLIC oServer
2 WAIT WINDOW NOWAIT 'Contacting server...'
3 oServer= CREATEOBJECTEX( '{BD96F2C0-BFE5-11D5-B027-00E04C669224}', 'mycomsrv')
4 WAIT clea
Development environment:
1. I designed my server-class and client-form on a Win98SE PC with VFP7
installed.
2. I registered the DLL on a Windows 2000 Server SP1 (named MYCOMSRV) with VFP7
installed.
Detail of steps I conducted:
1. On MYCOMSRV:
Successfully UNregistered the previous EXE version of my COM server.
1. On my Win98 PC:
Build the project (contains myclass.item class) as a Single-threaded DLL
2. Copy the DLL, VBR and TLB to the server
3. On MYCOMSRV:
Successfully registered the DLL (as stated by Regsvr32)
Note: I have confirmed that I used the correct CLSID (copied from the VBR file)
as the parameter of CREATEOBJECTEX function.
Previous
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only