]> Creatis software - bbtk.git/blobdiff - kernel/appli/bbi/bbi.cxx
#3203 BBTK Feature New Normal vtk7itk4wx3-mingw64
[bbtk.git] / kernel / appli / bbi / bbi.cxx
index c594a081f5d939f8e5d30948b8eb1b3b3197bd5c..3f60890e7b08383eb51c712159e226598ef2106e 100644 (file)
@@ -301,9 +301,14 @@ int main(int argc, char* argv[])
 //Borrame
 //FILE *ff; ff = fopen ("/tmp/wt.log","a+"); fprintf(ff,"EED main C\n"); fclose(ff);
 
-    return WinMain(::GetModuleHandle(NULL), NULL, ::GetCommandLine(), SW_SHOWNORMAL);
+       // EED 2018-07-16
+       char buffer[1500];
+       wcstombs(buffer , ::GetCommandLine() , 1500 );
+    return WinMain(::GetModuleHandle(NULL), NULL, buffer , SW_SHOWNORMAL);
+//    return WinMain(::GetModuleHandle(NULL), NULL, ::GetCommandLine(), SW_SHOWNORMAL);
 }
 
+
 #else 
 //==========================================================================
 // OTHER ( Linux... )