Use CreateObject() instead of CreateObjectEx().
What errors do you get back? Did you run the Client install on the XP box?
>Some time ago I built a DLL (in-process server), installed as a package under Microsoft Transaction Server on a "server" machine running Windows NT Workstation, which queries a Pervasive Database using ODBC.
>The program (a VFP6 exe), deployed on the same machine, calls the DLL with the statement:
>CREATEOJECTEX(...) and all works fine with clients, calling the program, running Windows 98 or Windows NT Workstation.
>
>Now, we have connected a new client, running Windows XP Professional, but this one doesn't work, when trying to access the DLL. It seems like if it couldn't instantiate the DLL.
>
>Can you give me any tracks to solve the problem?
>Many thanks.
>Bruno Maddalozzo
Craig Berntson
MCSD, Microsoft .Net MVP, Grape City Community Influencer