Thanks Vlad. I registered it under COM+ and now it works.
>Hi!
>
>Yes, you can, however, you require to register that class under DCOM (using DCOM manager) on the server machine by giving proper access rights to access that COM object remotely. Or just register COM object under MTS/COM+, but this is not required.
>
>>Hi all,
>>
>>I created a VFP7 com component to query some SQL Server tables and return the result as an XML string using XMLTOCursor(). When the client and the component are on the same computer it works fine (really slick actually).
>>
>>When I try to call over the network using CreateObjectEX() it doesn't work. I didn't register the component on the client computer so I'm using the class id instead of the progid. RPC locator service is running on both computers.
>>
>>
>>oSrvr = createobjectex( "{ my_guid_here }", "\\home" )
>>
>>
>>or
>>
>>
>>oSrvr = createobjectex( "{ my_guid_here }", "192.168.1.100" )
>>
>>
>>both give "OLE error code 0x80040154: Class not registered."
>>
>>Can I actually call the component using the class id without registering it on the client?