>Hi
>On my development machine (Win 98) I have built a com server (dll) and allowed VFP to regenerate the component ID's. The server works fine. I copy the .dll file to our NT production server (NT 4.0 SP5) and register it using regsvr32.exe - (regsvr32 returns success). I am unable to create an instance of the com server object on the NT machine. I tried creating a simple script that does nothing more than create an instance of the com server and release it:
>Set oSvr = CreateObject("foo.foo")
>
>The script fails returning either 'unspecified error' or 'The Remote Procedure Call Failed'.
>
>What else do I have to do to get the dll registered on another machine?
>
>TIA
Hi Bill,
You didn't mention if you copied the runtime libraries. For VFP 5.0 they are vfp500.dll and vfp5enu.dll. In VFP 6.0 these are vfp6r.dll and vfp6enu.dll. Check the MS Knowledge Base article number Q156547 for further details.
George
Ubi caritas et amor, deus ibi est