Search found 324 matches

by samsam598
Tue Jul 22, 2014 3:45 pm
Forum: C++ Development
Topic: Console+GUI hybrid app
Replies: 4
Views: 1235

Re: Console+GUI hybrid app

Thanks again.
By testing wxAppConsole::EventLoopEnter,it does not work,maybe due to what I did is wrong.
By testing wxDialog,everything is fine,except the difference between wxDialog and wxFrame,that means with wxDialog I can do fewer things on it,for example,it has no menubar/menu.
by samsam598
Tue Jul 22, 2014 11:05 am
Forum: C++ Development
Topic: Console+GUI hybrid app
Replies: 4
Views: 1235

Re: Console+GUI hybrid app

Thanks...yes, return false helps me a lot that app can now quit. My problem is the execution order with console output and GUI.I want it: 1.console printing something... 2.wxMessageBox shows... 3.wxFrame winodws shows 4.press X to quit wxFrame... 5.console printing something... 7.system("pause&...
by samsam598
Tue Jul 22, 2014 1:19 am
Forum: C++ Development
Topic: Console+GUI hybrid app
Replies: 4
Views: 1235

Console+GUI hybrid app

Hello, I want to create a hybrid app that includes console and GUI together.Below is my homework which I don't quite sure whether it is right.The wrong part is the last line of code (MyApp::OnInit(),right before return true) that execute console output's not executed in the right order,it is before ...
by samsam598
Thu Jul 17, 2014 12:50 am
Forum: C++ Development
Topic: wxCRT__wxPrintf family
Replies: 1
Views: 667

wxCRT__wxPrintf family

Greetings! In the doc I did find the related topics such as CRT wrapper functions in wx,but it does not include wxPrintf etc.Where could I read informations regarding the usage & limitations,such as under Unicode build,any concerns should I pay attention to when I use these functions in a consol...
by samsam598
Fri Jul 11, 2014 6:04 am
Forum: C++ Development
Topic: Email in wx
Replies: 0
Views: 732

Email in wx

Greetings! I am seeking any compenent/solutions that dealing Email in wx3.1.Thanks for the help in advance. Before this version ,back to 2.9.x IIRC,wxEmail has been compiled successfully,and the samples with it.But it failed to compile in wx3.1,at least in my workshop(wx3.1 daily snapshot +minGW2.8....
by samsam598
Sun Jul 06, 2014 5:40 am
Forum: C++ Development
Topic: Example on Define Custom Persistent Controls
Replies: 1
Views: 827

Example on Define Custom Persistent Controls

Greetings! I tried to learn how to do persistent/serialization in C++/wxWidgets and find this from the doc: Defining Custom Persistent Windows User-defined classes can be easily integrated with wxPersistenceManager. To add support for your custom class MyWidget you just need to: 1.Define a new MyPer...
by samsam598
Mon Jun 30, 2014 7:30 am
Forum: C++ Development
Topic: Screenshots for wxWidgets samples
Replies: 5
Views: 1406

Re: Screenshots for wxWidgets samples

screenshot3.PNG
screenshot2.PNG
screenshot1.PNG
Maybe you need wxDemo(Viewer):
http://sourceforge.net/projects/wxcode/files/Components/wxDemo/

And hope there is an updated version for the latest wx.
by samsam598
Mon Sep 30, 2013 3:53 pm
Forum: wxCode
Topic: Reviving DatabaseLayer
Replies: 73
Views: 21112

Re: Reviving DatabaseLayer

error.JPG Retried with wx vc dll_release and dll_debug built libs.wxDatabaes base and database libs built successfully,config\test.exe built successfully.Inside IDE when test.exe is starting,exception caught at last line of + MyTestSuite - MyTestSuite::testPath - MyTestSuite::testGetEntries - MyTes...
by samsam598
Mon Sep 30, 2013 4:08 am
Forum: wxCode
Topic: Reviving DatabaseLayer
Replies: 73
Views: 21112

Re: Reviving DatabaseLayer

Compiled with vc++2010 Express Edition IDE+ wx3.0 RC1: base.lib and database.lib successfully; config/tests: ------ Build started: Project: tests, Configuration: Release Win32 ------ tests.obj : error LNK2001: unresolved external symbol "class wxMBConv * wxConvLibcPtr" (?wxConvLibcPtr@@3PA...
by samsam598
Sun Sep 29, 2013 7:14 am
Forum: wxCode
Topic: Reviving DatabaseLayer
Replies: 73
Views: 21112

Re: Reviving DatabaseLayer

Anyway, yesterday I downloaded your latest wxDatabase and merged my TDS and ODBC fixes and all the tests back into your code. In what I've put together we have MySql, PostGreSQL, Sqlite3, ODBC and TDS. I've run the tests for ODBC and TDS and they both pass all 65. Sorry,could you please let me know...
by samsam598
Sun Sep 22, 2013 8:32 am
Forum: wxCode
Topic: Reviving DatabaseLayer
Replies: 73
Views: 21112

Re: Reviving DatabaseLayer

In previous version as I tested,I am not sure whether ODBC part has been tested,it seems that only SQLite part has been tested. I don't know how to only test ODBC/SQLite separately.Does taking out one of it from the settings.conf file work?Or need to undefine USE_ODBC/USE_SQLite in the project and r...
by samsam598
Sat Sep 21, 2013 8:10 am
Forum: wxCode
Topic: Reviving DatabaseLayer
Replies: 73
Views: 21112

Re: Reviving DatabaseLayer

I tried to build the library and the test samples but no luck same as last time(due to use C::B so no proper workable project settings).Also tried to include all sources to build,no luck too.Grateful if there will be a MinGW makefile or C::B +MinGW project file for testing.One thing I noticed when o...
by samsam598
Wed Sep 18, 2013 6:03 am
Forum: wxCode
Topic: Reviving DatabaseLayer
Replies: 73
Views: 21112

Re: Reviving DatabaseLayer

Appreicated the prompt feedback. I will study the updated source sometime later.At this moment when I searched the key word testEncodingSupport in tests.cpp file,I don't quite understand the existence of wxConvISO8859_1 there.To be honest,I don't quite understand Encoding stuffs,or Uncode charset st...
by samsam598
Mon Sep 16, 2013 8:18 am
Forum: wxCode
Topic: Reviving DatabaseLayer
Replies: 73
Views: 21112

Re: Reviving DatabaseLayer

Thanks for getting back to me. I managed to get the test case compiled and run .The summary reported that all 65 tests have been passed.Please take note the wxDatabase library I tested on is the one I've modified to ensure the Chinese characters properly interact with MS Access(so ODBC part I myself...

Go to advanced search