Search found 6 matches

by sakthivel
Thu Feb 28, 2019 7:46 am
Forum: C++ Development
Topic: Cannot convert wxString to char*
Replies: 8
Views: 856

Re: Cannot convert wxString to char*

OK. If we change System Locale to Japanese, string conversion working fine. I know this is not what i expected, any how i am stopping here :) .
by sakthivel
Fri Feb 22, 2019 7:36 am
Forum: C++ Development
Topic: Cannot convert wxString to char*
Replies: 8
Views: 856

Re: Cannot convert wxString to char*

Thanks for reply. I tried your suggestions , but no luck. My findings from Internat Example For japanese, strings loaded from ja/internat.po file. wxString str= _("About Internat"); for japanese build str replaced with Japanese characters. If i do str.mb_str().data() it is giving EMPTY. I ...
by sakthivel
Thu Feb 21, 2019 11:11 am
Forum: C++ Development
Topic: Cannot convert wxString to char*
Replies: 8
Views: 856

Cannot convert wxString to char*

Hi All, I am using wxWidgets3.0.4. Earlier we were using wxWidgets2.0.4 now migrated to 3.0.4. I built wxWidgets3.0.4 in unicode mode. And modified my application to support unicode and built it successfully. In my application i am converting wxString to char* and passing that char* to legacy web se...
by sakthivel
Thu May 10, 2018 11:56 am
Forum: Platform Related Issues
Topic: wxGetOsVersion() is giving different result in different applications on the same machine
Replies: 4
Views: 1671

Re: wxGetOsVersion() is giving different result in different applications on the same machine

I can't think of any reason why this could happen. Googling i found one post with a similar issue and Microsofts AppVerifier was the reason. Do you have that installed? https://stackoverflow.com/questions/2384051/under-what-legitimate-circumstances-might-getversionex-produce-dwmajorversion @doublem...
by sakthivel
Thu May 10, 2018 11:12 am
Forum: Platform Related Issues
Topic: wxGetOsVersion() is giving different result in different applications on the same machine
Replies: 4
Views: 1671

Re: wxGetOsVersion() is giving different result in different applications on the same machine

Yes it is 8.3 in the no-working project and GetVersionEx() returning TRUE #-o .

Are you sure it is Windows 7 and not 8 or newer? - Yes Windows7

In working project it is 6.1 .
by sakthivel
Thu May 10, 2018 10:06 am
Forum: Platform Related Issues
Topic: wxGetOsVersion() is giving different result in different applications on the same machine
Replies: 4
Views: 1671

wxGetOsVersion() is giving different result in different applications on the same machine

Hi. I created two UI applications using wxWidget3.0.4. Both the applications have Frame and menus. In one application i am getting assert message while clicking on menu(..\src\msw\toplevel.cpp assert"m_menuDepth>0"), other application working fine. While searching for this issue i found th...