How to use Cluster API (clusapi.dll) in Delphi?
Posted on 2003-02-27
I'm currently trying to write a Cluster-Aware Service in Windows. Microsoft has provided us with clusapi.dll with all the necessary API to make a program cluster-aware.
The question is, how do I use it? Borland did not provide a unit which imports these APIs into Delphi. One of the procedure that I wish to use is GetClusterNodeState(). However, I do not know how to handle the result. I believe it is return as a DWORD, but not sure which value represent what state. MSDN Library is not very helpful towards Delphi programmers!...
Hope I get an answer soon...