Search found 124 matches

by GianT
Wed Apr 27, 2005 4:21 pm
Forum: wxDev-C++
Topic: [resolved] Show a error message from a dialog box
Replies: 7
Views: 1742

I read about this, but it doesn't seem to be what I need :? . It talks about transferring data to a child but how do I make this child? I remind that I want to show a validate or an error message when I click on the "OK" button of the dialog. Do I have to make and place the code of a wxwindow in the...
by GianT
Tue Apr 26, 2005 8:17 pm
Forum: C++ Development
Topic: String Conversions (wxChar * to char *...)
Replies: 15
Views: 3306

No sorry, it doesn't work! :cry:

Edit: Errr, I was wrong it worked! I don't know why but it works now :roll: Thx ^^
by GianT
Tue Apr 26, 2005 7:56 pm
Forum: C++ Development
Topic: String Conversions (wxChar * to char *...)
Replies: 15
Views: 3306

I'm sorry, but it seems to be really more complicated to deal with wxdB than with mysql_query...So I will take a better look at it anyway, but if someone know how I can make my request with mysql_query, that is to say convert wxstring to char *, plz just let me know...
by GianT
Tue Apr 26, 2005 7:00 pm
Forum: C++ Development
Topic: String Conversions (wxChar * to char *...)
Replies: 15
Views: 3306

WxDb...As I said I am a real noob in wxwidgets... Thank you I'm gonna search for this. It could solve ALL my problems... :D
But I'm not sure it will work, cause I use a mysql database (from easyphp)
by GianT
Tue Apr 26, 2005 4:54 pm
Forum: C++ Development
Topic: String Conversions (wxChar * to char *...)
Replies: 15
Views: 3306

I'm gonna have lunch so I will look your link during the next hour. To answer you, you are true, I 'm new in some areas. But I know that the crash is due to the query, because when I write: mysql_query(&mysql,"select login from ..."); instead of : mysql_query(&mysql,query.c_str() ) I have no crashes...
by GianT
Tue Apr 26, 2005 3:54 pm
Forum: C++ Development
Topic: String Conversions (wxChar * to char *...)
Replies: 15
Views: 3306

Am I the only one developping an application linked to a database with wxWidgets :?:
by GianT
Tue Apr 26, 2005 2:49 pm
Forum: C++ Development
Topic: String Conversions (wxChar * to char *...)
Replies: 15
Views: 3306

Could you give me more details please? Do you mean I should try mb_str instead of c_str? By the way, what is an unicode build???
by GianT
Tue Apr 26, 2005 2:29 pm
Forum: C++ Development
Topic: String Conversions (wxChar * to char *...)
Replies: 15
Views: 3306

Excuse my lack of knowledge, but I have a problem with wxString and mysql_query. Here is the code: const wxString query = wxString::Format ("select login from users where login = '%s';", login.c_str()); if (!mysql_query(&mysql,query.c_str())) { // .... The result of this is a crash of the program, a...
by GianT
Sat Apr 23, 2005 1:56 pm
Forum: C++ Development
Topic: String Conversions (wxChar * to char *...)
Replies: 15
Views: 3306

Sorry, I didn't know this method wxString::Format :oops: ... I think since I'll use it, I won't have troubles anymore. I'll post a message to tell you if I do or don't have any problems when I am back to the computer I work on.
by GianT
Sat Apr 23, 2005 4:37 am
Forum: C++ Development
Topic: String Conversions (wxChar * to char *...)
Replies: 15
Views: 3306

String Conversions (wxChar * to char *...)

Hi, I encounter several problems with the text strings I use in my program. I'm used to making my strings with char * type, and some things require the type wxChar * or even the type const wxChar * I would like to know if so had information about this, I just know the existence of the methods c_str,...
by GianT
Fri Apr 22, 2005 3:58 pm
Forum: wxDev-C++
Topic: [resolved] Show a error message from a dialog box
Replies: 7
Views: 1742

I'm afraid I can't find any information about this in the help file, I just got ToULong and Treectrl sample when I search for TransferDataFromWindow.
by GianT
Fri Apr 22, 2005 3:45 pm
Forum: Platform Related Issues
Topic: Create a virtual OS
Replies: 6
Views: 1373

Ok thanks for the link, I'm gonna take a look at this.
Anyone has an idea for the images of the applications in the task bar??
by GianT
Thu Apr 21, 2005 9:33 pm
Forum: wxDev-C++
Topic: [resolved] Show a error message from a dialog box
Replies: 7
Views: 1742

Where can I find information about this?
I can't find it in the help file
by GianT
Thu Apr 21, 2005 8:45 pm
Forum: wxDev-C++
Topic: [resolved] Show a error message from a dialog box
Replies: 7
Views: 1742

[resolved] Show a error message from a dialog box

Hi, that's me again :D I made a dialog box and I would like to send a message in function of what the user wrote n the fields of the dialog box. In fact, if he writes something wrong, I want to show a error message; if not, I want to validate the dialog box and show another message. I guess that som...
by GianT
Thu Apr 21, 2005 8:19 pm
Forum: Platform Related Issues
Topic: Create a virtual OS
Replies: 6
Views: 1373

err a DLL?? You overestimated me, I have never dealt with dll in my life... :oops: But I found on a website a way to desactivate all the windows + X key shorcuts. It seems that it is jut a modification in one key of the registry. However I've not tested this yet