lmi
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [lmi] the rest of MSVC compilation patch


From: Greg Chicares
Subject: Re: [lmi] the rest of MSVC compilation patch
Date: Fri, 22 Aug 2008 00:23:22 +0000
User-agent: Thunderbird 2.0.0.16 (Windows/20080708)

[On 2008-07-12 19:27Z, Vadim Zeitlin wrote:]
[...]
> - MessageBox() call can be either MessageBoxA() (taking "const char *"
>   arguments) or MessageBoxW() (taking "const wchar_t *" ones) depending
>   on whether _UNICODE is defined when windows.h is included. To make it
>   possible to build LMI with Unicode version of wxWidgets (default, and
>   soon only, build of wx 3.0) you should explicitly use MessageBoxA() when
>   passing C strings to it.

Your patch to 'alert.cpp': committed 20080822T0019Z.
I also changed a MessageBox() call in 'alert_wx.cpp'.

What about other msw system calls such as the following?

msw_workarounds.cpp:    if(0 == ::LoadLibrary(dll_name.c_str())))
msw_workarounds.cpp:    if(0 == ::FreeLibrary(::GetModuleHandle(dll_name.c_str()
system_command_non_wx.cpp:    ::CreateProcess

The compiler we use in production, MinGW gcc, doesn't support
std::wstring, BTW.




reply via email to

[Prev in Thread] Current Thread [Next in Thread]