Sep 11 2020 12:35 PM
Hello All,
I'm trying to add a custom resource dll into a 2k16 cluster; I'm seeing the same result using both powershell and the failover cluster manager.
I have followed the documentation in for creating custom resource types https://docs.microsoft.com/en-us/previous-versions/windows/desktop/mscs/creating-resource-types
I took the skeleton from the clipbookserver example and the examples in the cluster api doc cited above. The command 'Add-ClusterResourceType -Name MyTypeBeta -Dll "C:\Windows\cluster\garbagee.dll"' and am receiving the following prints:
The def file is as follows:
LIBRARY GARBAGEE
EXPORTS
Startup PRIVATE
Dll is built for x64.
I've tried 'extern "C"' for Startup, combining '__declspec(dllexport)'. I've turned off the Props->c/c++->Language 'Conformance mode' and not using precompiled headers. I'm placing the dll and lib directly in the C:\windows\cluster directory on all nodes.
I believe this is something fundamental but cannot figure this out?
Any help is very much appreciated.
Thanks,
BLC