From: san Date: Wed, 13 Jun 2007 11:59:12 +0000 (+0000) Subject: Porting to Qt4: Win32 compiler error X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=51b297e8adf0d5dfca452dcabb98afeb0af80b8e;p=modules%2Fgui.git Porting to Qt4: Win32 compiler error --- diff --git a/src/CAM/CAM_Application.cxx b/src/CAM/CAM_Application.cxx index 9739791d0..6d285ad5d 100755 --- a/src/CAM/CAM_Application.cxx +++ b/src/CAM/CAM_Application.cxx @@ -274,7 +274,7 @@ CAM_Module* CAM_Application::loadModule( const QString& modName ) GET_MODULE_FUNC crtInst = 0; #ifdef WIN32 - HINSTANCE modLib = ::LoadLibrary( libName ); + HINSTANCE modLib = ::LoadLibrary( libName.toLatin1() ); if ( !modLib ) { LPVOID lpMsgBuf;