Link to home
Start Free TrialLog in
Avatar of philsmicronet
philsmicronetFlag for Australia

asked on

Cluster API

I have a Microsoft Cluster setup on two Windows 2000 servers. The Cluster presents a virtual server and file share to the client machines. From the client machines I am trying to get information about the health of the cluster.

I am trying to use the OpenCluster API call, however, I keep getting a NULL window handle returned. Calling GetLastError returns 1722

1722 The RPC server is unavailable.  RPC_S_SERVER_UNAVAILABLE

The only successful return value up to now is if I call the OpenCluster from one of the Cluster Servers passing a NULL parameter. This apparently returns a LPC rather than an RPC

Any ideas how I can get this to work?

ASKER CERTIFIED SOLUTION
Avatar of Madz
Madz

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of philsmicronet

ASKER

I found the problem. It was in my conversion from LPSTR to LPWSTR. I didnt include the '\0' in the conversion.