Commit c2f7d7b9 authored by Laurent Belcour's avatar Laurent Belcour

Managed to load on a Windows machine. But the load will

always look for ANSI formated strings.
parent 191c5ba2
......@@ -20,7 +20,7 @@
template<typename T> T open_library(const std::string& filename, const char* function)
{
#ifdef WIN32
HINSTANCE handle = LoadLibrary((LPCTSTR)filename.c_str());
HINSTANCE handle = LoadLibraryA(filename.c_str());
if(handle != NULL)
{
T res = (T)GetProcAddress(handle, function);
......
......@@ -19,7 +19,7 @@
int main(int argc, char** argv)
{
QCoreApplication app(argc, argv, false);
QCoreApplication app(argc, argv);
arguments args(argc, argv) ;
plugins_manager manager(args) ;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment