>>Stephen, you need to pass either the CLSID or ProgID, not a file name, to identify the server.
>
>Ok, I have seen that in the help files and can only get it via running createobjectex(), then COMCLASSINFO().
>
>I used the ole/com object viewer and it gives this as a start:
>// Generated .IDL file (by the OLE/COM Object Viewer)
>//
>// typelib filename: reindex1.exe
>
>[
> uuid(05E6F254-C844-11D3-BC83-0050BAB287A9),
> version(1.0),
> helpstring("reindex1 Type Library")
>]
>library reindex1
>{
> // TLib : // TLib : OLE Automation : {00020430-0000-0000-C000-000000000046}
> importlib("stdole32.tlb");
>
> // Forward declare all types defined in this typelib
> interface Isdtdcomm;
>
>
>I like this value myself as the registry version:05E6F254-C844-11D3-BC83-0050BAB287A9
>
>I thought that this was easier?
>
>__Stephen
It is. The name of your server is the name of your project, and the name of your OLEPUBLIC class, separated by a perdiod:
MyProject.MyClass
You use this "progID" to instanciate your server.
oremote = CREATEOBJECTEX("MyProject.MyServer","\\MyServerBox")
Erik Moore
Clientelligence