Hi all,
I am playing with DCOM stuff. I created COM DLL and it works perfectly. Then I created out-of-process DCOM EXE, registered it on client (CLIREG32.exe myserver.VBR) and server (myserver.exe -regserver)according to VFP documentation and all articles I have read, but I am not able to start my DCOM on remote PC.
All I am getting :
If I use
oCom = CREATEOBJECTEX( "{12B3C378-0775-4278-B44F-BC0287B0F448}", "\\MYSERVERPC")
I get OLE error "Server Execution Failed"
and if I try
oCom = CREATEOBJECTEX( "{12B3C378-0775-4278-B44F-BC0287B0F448}", "\\MYSERVERPC\")
I get
"OLE error code 0x800706ba: The RPC server is unavailable."
I am not sure hat is the difference here, as backslash after the server name seems not required.
Both PC's are Windows 98 SE, 128/64 Mb RAM with the latest version of DCOM98 installed.
I tested PCs with HASDCOM.PRG, and also successfully tested MS tstsvr.exe sample to make sure that DCOM works on the system. Automation Manager is running on the server, I used DCOMCNFG to set all (I hope) the options requred.
I also tried CREATEOBJECTEX with ProgID with the same results.
I tried also to start the sample VFP DCOM from my NOLA Devcon CD with the same results.
Am I missing something?
Nick Neklioudov
Universal Thread Consultant
3 times Microsoft MVP - Visual FoxPro
"I have not failed. I've just found 10,000 ways that don't work." - Thomas Edison