Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Programming Windows Cluster resource DLLs using Delphi

I wonder whether there's a way to program a resource DLL for Windows Clusters in Delphi. I want to write a program that observes cluster state changes.

Judging from the MSDN API reference, all relevant functions are located in the ClusAPI.h and ResAPI.h headers, but unfortunately it seems as if they haven't been ported yet and HeaderConv seems to fail on them.

Does anyone has experience in doing such a thing?

like image 947
kaeff Avatar asked Feb 26 '26 08:02

kaeff


1 Answers

It's a very C-oriented API, with mandatory Dll entry points, tables of callback function pointers, and binary data blocks. I've been able to wrap a C#/.NET library with a C++/CLI interop layer, but it's definitely non-trivial.

like image 77
Eric Nicholson Avatar answered Feb 27 '26 20:02

Eric Nicholson



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!