Search found 5 matches

by lorijho
Mon Mar 27, 2006 5:18 pm
Forum: C++ Development
Topic: Segfault caused by simple wxString::ToLong() code
Replies: 7
Views: 1518

Re: Segfault caused by simple wxString::ToLong() code

upCASE please read the initial post...
lorijho wrote: Doing

Code: Select all

long ndos;
wxstr.ToLong(&ndos);
works and is recommanded but can, nevertheless,
somebody please point me to the (obvious?) thing I'm not seeing right now...
by lorijho
Mon Mar 27, 2006 3:30 pm
Forum: C++ Development
Topic: Segfault caused by simple wxString::ToLong() code
Replies: 7
Views: 1518

Too stupid, it should rather be...

Code: Select all

long * ndos = new long(1);
Thank you for your reply!
by lorijho
Sat Mar 25, 2006 1:30 am
Forum: C++ Development
Topic: Segfault caused by simple wxString::ToLong() code
Replies: 7
Views: 1518

Segfault caused by simple wxString::ToLong() code

Hi, I'm observing an (for me) unexplicable segfault in this code snippet: void test(){ long* ndos=NULL; *ndos=1;//some initial value wxString sdos = wxT("90"); //some nbr as string if(sdos.ToLong(ndos)){ std::cout << "converted: " << *ndos << std::endl; } else{ std::cout << "...
by lorijho
Sat Feb 11, 2006 10:19 pm
Forum: wxCode
Topic: using wxSQLite3 in an application w/out loading sqlite3.dll
Replies: 3
Views: 2257

Hi,

Thanks for your advice. It finally worked!


Vielen Dank f
by lorijho
Sat Feb 11, 2006 7:50 pm
Forum: wxCode
Topic: using wxSQLite3 in an application w/out loading sqlite3.dll
Replies: 3
Views: 2257

using wxSQLite3 in an application w/out loading sqlite3.dll

Hello, First of all I'd like to point out that wxWidgets and wxCode totally rock! Being able to write portable code is just fantastic! I'm stuck. Looked around and tried out different stuff for days now. I've been looking all over the forum and can't find a solution to this problem. How to compile w...