Search found 84 matches

by eriX
Sat Aug 25, 2012 6:11 pm
Forum: wxDev-C++
Topic: [Linker Error] undefined reference to `WinMain@16'
Replies: 1
Views: 4220

Re: [Linker Error] undefined reference to `WinMain@16'

I solved my problem ;)

I restored my .dev file from a previous backup, and now it works again :D

It seems that Dropbox isn't a good place for storing project files, because some files became deletet o_O
by eriX
Sat Aug 25, 2012 3:09 pm
Forum: wxDev-C++
Topic: [Linker Error] undefined reference to `WinMain@16'
Replies: 1
Views: 4220

[Linker Error] undefined reference to `WinMain@16'

I've copied my project today, to work on it at another computer. After making some changes with the GUI-Designer from wxDevC++ the linker stopped with the following output: C:\Programme\Dev-Cpp\MinGW32\lib\libmingw32.a(main.o) In function `main':: [Linker Error] undefined reference to `WinMain@16' l...
by eriX
Thu Aug 16, 2012 5:37 pm
Forum: C++ Development
Topic: Connecting Events
Replies: 2
Views: 1424

Re: Connecting Events

Thank you for your advice! I hope I've done it right?! Well, I guess it is right, because it works :D WxEdit1 = new wxTextCtrl(WxPanel2, ID_WXEDIT1, wxT(""), wxPoint(285, 40), wxSize(365, 35), wxTE_PROCESS_ENTER, wxDefaultValidator, wxT("WxEdit1")); WxEdit1->Connect(wxEVT_COMMAND...
by eriX
Thu Aug 16, 2012 3:37 pm
Forum: C++ Development
Topic: Connecting Events
Replies: 2
Views: 1424

Connecting Events

Hi everybody! I have one wxEdit field and one BitmapButton in my project. If the user types in wxEdit and presses the return-key the function of the Bitmap shall become started. I thought I could create a function to check each KeyEvent for return and call the function of my BitmapButton... but I've...
by eriX
Wed Aug 15, 2012 1:48 pm
Forum: C++ Development
Topic: How to post some text to my webserver (PHP)
Replies: 8
Views: 2821

Re: How to post some text to my webserver (PHP)

I played a little bit with the cURL.exe command-line-tool. I'm satisfied :D
I'd like to use cURL in my project.

Can you help me at implementing it, please?
I've got no idea which files I shall copy in which directory...
by eriX
Mon Aug 06, 2012 5:51 pm
Forum: C++ Development
Topic: How to post some text to my webserver (PHP)
Replies: 8
Views: 2821

Re: How to post some text to my webserver (PHP)

I would prefer a real post, not via URL.

Can I add some headers to wxHTTP?
by eriX
Sun Aug 05, 2012 8:03 pm
Forum: C++ Development
Topic: How to post some text to my webserver (PHP)
Replies: 8
Views: 2821

Re: How to post some text to my webserver (PHP)

I discovered this way already.
But I have to post unicode-text with a lot of chars that don't match the URL-chars...
So I think I have to perform a real POST to get it, but I don't know how to do it.
by eriX
Sun Aug 05, 2012 7:24 pm
Forum: C++ Development
Topic: How to post some text to my webserver (PHP)
Replies: 8
Views: 2821

How to post some text to my webserver (PHP)

Hello everybody. You all know the input-forms on every website where you can put text in and submit it. I want to post some data as a string to my 'upload.php' file on my webserver. Then I want to work with this submitted data and generate a response that goes back to the programme. Could you give m...
by eriX
Sun Jul 01, 2012 4:02 pm
Forum: wxDev-C++
Topic: problem on compiling project with unicode chars
Replies: 1
Views: 2125

problem on compiling project with unicode chars

Hey, I use some unicode-chars like ä,ö,ü in my project. (Labels, wxMessageBox etc.) If I start to compile my project, the compiler stops with the error "Illegal byte sequence" I can't figure out where this problem comes from... I've tried to convert my .cpp source files with Notepad++ to U...
by eriX
Sat May 05, 2012 5:49 pm
Forum: C++ Development
Topic: Problem with unicode characters and SQLite (russian letters)
Replies: 8
Views: 4726

Re: Problem with unicode characters and SQLite (russian lett

Thank you very much!
I got it! =D

- Eric
by eriX
Sat May 05, 2012 5:31 pm
Forum: C++ Development
Topic: Problem with unicode characters and SQLite (russian letters)
Replies: 8
Views: 4726

Re: Problem with unicode characters and SQLite (russian lett

ok... "i" is a counter-variable in a for() loop...

I can only say that it worked (exept the russian lettes were displayed wrong) without: wxString::FromUTF8()
by eriX
Sat May 05, 2012 4:48 pm
Forum: C++ Development
Topic: Problem with unicode characters and SQLite (russian letters)
Replies: 8
Views: 4726

Re: Problem with unicode characters and SQLite (russian lett

It didn't compile...

If I use this: WxListBox6->Append( wxString::FromUTF8(pazResult) );
I don't have any output in the ListBox.
by eriX
Sat May 05, 2012 4:17 pm
Forum: C++ Development
Topic: Problem with unicode characters and SQLite (russian letters)
Replies: 8
Views: 4726

Re: Problem with unicode characters and SQLite (russian lett

Is there a devpack available for wxDevC++ ? I can write now in the database correct with .ToUTF8() But reading doesn't work with .FromUTF8() char **pazResult=NULL; int pnRow; int pnColumn; char *pzpopup=NULL; sqlite3_get_table(Database, command, &pazResult, &pnRow, &pnColumn, &pzpopu...
by eriX
Sat May 05, 2012 3:17 pm
Forum: C++ Development
Topic: Problem with unicode characters and SQLite (russian letters)
Replies: 8
Views: 4726

Problem with unicode characters and SQLite (russian letters)

Hello, actually I have got the following problem: I enter some russian letters in a WxEdit field and want to save this in a SQLite Database - but the record doesn't become saved. If I use normal characters everything works fine but if I use russian letters oder sth. like this nothing becomes written...
by eriX
Fri Apr 06, 2012 5:24 pm
Forum: C++ Development
Topic: Open wxPopupMenu by RightClick on wxEdit
Replies: 7
Views: 6159

Re: Open wxPopupMenu by RightClick on wxEdit

@PB: I used your example in my and it is working. Thank you! Can I bind this function on some more TextBoxes - so that the Popup is shown at wxEdit 1 - 10 and changes the text in the Textbox from where the Popup is called? Could I call the popup-function with a variable (e.g.: OnContextMenuSelected(...