WLMKernel.framework
should be initialized first. Try calling WlmKernel_FrameworkInit
:
void WlmKernel_FrameworkInit();
// Before any calls to WLMKernel:
WlmKernel_FrameworkInit();
I'm not sure about the true signature of this method, but it just works.