''LoadLibraryW' : cannot convert parameter 1 from 'char *' to 'LPCWSTR'

Solution:

return((DLL *) LoadLibrary(L"okFrontPanel.dll"));