Search found 324 matches

by samsam598
Fri Aug 24, 2012 1:37 am
Forum: wxWidgets Development (Chinese)
Topic: wxsqlite3为什么读取中文时值为空呢?
Replies: 20
Views: 17662

Re: wxsqlite3为什么读取中文时值为空呢?

为了确定,昨天还特意把之前的一个小练习找出来试了试确实中文可以显示。 不过需要说明的是,我一直在用最新的wx2.9 SVN unicode static build. 可能确实帮不到你,目前唯一能想到的是: 1.源文件(包含中文) 的编码(如IDE为C::B,CB的Editor 确保设置正确,之前贴子讨论过) ;另用wxMessageBox 或wxLogStatus打印中英混合的字段值会如何? 2.Query->GetString(0) 而我是用Query->GetAsString(0),不明为何有此差异,有空俺查一下文档 3. SQL查询语句改为PreparedStatement不知结果会不...
by samsam598
Wed Aug 22, 2012 4:14 am
Forum: wxWidgets Development (Chinese)
Topic: wxsqlite3为什么读取中文时值为空呢?
Replies: 20
Views: 17662

Re: wxsqlite3为什么读取中文时值为空呢?

wxSqlite3 试过,没碰到这个问题。建议:
1. 如何Build 这个库的,亦即wx 是什么版本,2.8.? 还是2.9.? ,unicode build ?wxSqlite3 同问;
2. 最好贴一段代码
by samsam598
Tue Jul 03, 2012 1:09 am
Forum: wxWidgets Development (Chinese)
Topic: wxsqlite3-3.0.0.1的编译
Replies: 1
Views: 2650

Re: wxsqlite3-3.0.0.1的编译

这个俺经常更新编译(MINGW下),你是怎么编译的?编译出来有什么问题,能仔细说一下吗
by samsam598
Thu Jun 14, 2012 3:16 am
Forum: wxWidgets Development (Chinese)
Topic: 推荐使用wxDev-C++
Replies: 4
Views: 4218

Re: 推荐使用wxDev-C++

是的,而且时不时的crash
by samsam598
Sun Jun 03, 2012 4:58 am
Forum: wxWidgets Development (Chinese)
Topic: 新手提出一个有点小白的疑问,请见谅
Replies: 2
Views: 2482

Re: 新手提出一个有点小白的疑问,请见谅

C++语言当然支持一个大文件完成所有功能啊,但是模块化和支持大规模编程不正是C++的强项么...
by samsam598
Wed May 23, 2012 9:45 am
Forum: Compiler / Linking / IDE Related
Topic: #import MSADO15.dll issue
Replies: 1
Views: 2272

#import MSADO15.dll issue

#pragma once //#include <comdef.h> -->No such file in GCC?? #import "c:\\Program Files\\Common Files\\System\\ADO\\msado15.dll" rename("EOF", "ADOEOF") Source code encoding:UTF8. Could anybody figure me out what's wrong and how to fix it so that I can make use of ms ado?Thanks. error report: ------...
by samsam598
Sat May 05, 2012 3:16 am
Forum: wxWidgets Development (Chinese)
Topic: wxWidgets滚动窗口刷新问题
Replies: 6
Views: 4760

Re: wxWidgets滚动窗口刷新问题

Win7下很多语言都碰到过scrollbar不见了的囧事,比如FreePascal+Lazarus,Ecere
by samsam598
Fri Mar 30, 2012 1:11 am
Forum: wxCode
Topic: wxCurl linker problems
Replies: 4
Views: 4455

Re: wxCurl linker problems

I encountered the same problem before under windows with MinGW.What I did is very stupid:build both monolithic and non-monolithic version of wx,that is : mingw32-make -f makefile.gcc BUILD=release SHARED=0 UNICODE=1 MONOLITHIC=0 2>errlog.txt mingw32-make -f makefile.gcc BUILD=release SHARED=0 UNICOD...
by samsam598
Mon Mar 26, 2012 11:45 am
Forum: C++ Development
Topic: XML Format
Replies: 5
Views: 1426

Re: XML Format

Thank you. I would like to get a small sample for wx xml writing as well. Please let me know, If there are any. Thank you, Regards, Pahee How about this one http://trac.wxwidgets.org/browser/wxWidgets/trunk/tests/xml/xmltest.cpp It should be in the same (tests) folder under your wx package:wxWidget...
by samsam598
Fri Mar 23, 2012 8:30 am
Forum: C++ Development
Topic: XML Format
Replies: 5
Views: 1426

Re: XML Format

Once I asked the same question.Here is an example:
http://forums.wxwidgets.org/viewtopic.php?f=1&t=26015
by samsam598
Fri Feb 17, 2012 1:00 am
Forum: wxWidgets Development (Chinese)
Topic: 教程:創建一個wxWidgets的自定義對話框
Replies: 3
Views: 3405

Re: 創建一個定制的wxWidgets,CodeBlocks對話

打不开啊,是不是墙的原因?

有包下载不?谢谢啊。
by samsam598
Wed Feb 08, 2012 6:41 am
Forum: C++ Development
Topic: wxApp::OnExit()
Replies: 4
Views: 3301

Re: wxApp::OnExit()

Hi, I am trying to export some wxWidgets window information when I exit the application, i.e., when I click "X" on the main application window, the program exports some information then it exits. Normally I use wxCloseEvent to solve this issue,that is ,popping up a query window asking whether you t...
by samsam598
Sun Jan 29, 2012 7:24 am
Forum: C++ Development
Topic: Basic Input/Output in WxWidgets
Replies: 4
Views: 2103

Re: Basic Input/Output in WxWidgets

As far as we are talking about standard C++,below code you provided should have no problem to compile on any platform with any c++98 up compilers in the market up to now.wxWidgets is one of the c++ cross platform libraries in the world,it does not stop you using any c++ features while you are using ...
by samsam598
Thu Jan 19, 2012 10:11 am
Forum: wxWidgets Development (Chinese)
Topic: 用Code::Blocks编译wxWebView总是过不去,哪位高手帮忙看一下!
Replies: 2
Views: 3371

Re: 用Code::Blocks编译wxWebView总是过不去,哪位高手帮忙看一下!

wx2.9.3 release版可以顺利编译。打开wxUSE_WEBVIEW 开关即可。