Search found 172 matches
- Tue Sep 29, 2009 6:58 pm
- Forum: wxCode
- Topic: Databaselayer ResultSet::GetMetaData() crashes on linux
- Replies: 2
- Views: 1751
- Thu Sep 10, 2009 8:27 pm
- Forum: C++ Development
- Topic: Thread TestDestroy()
- Replies: 5
- Views: 3140
- Wed Sep 09, 2009 7:55 pm
- Forum: C++ Development
- Topic: Thread TestDestroy()
- Replies: 5
- Views: 3140
Thread TestDestroy()
I have a simple doubt, if inside a thread I call TestDestroy(), and Delete has been called outside it, will it imeadiatly after calling testdestroy leave the function it was executing and call OnExit and destroy the thread? For example my thread calls a funtion that in this function I have a loop th...
- Wed Sep 09, 2009 7:41 pm
- Forum: wxCode
- Topic: Databaselayer ResultSet::GetMetaData() crashes on linux
- Replies: 2
- Views: 1751
- Mon Aug 31, 2009 7:49 pm
- Forum: wxCode
- Topic: Databaselayer ResultSet::GetMetaData() crashes on linux
- Replies: 2
- Views: 1751
Databaselayer ResultSet::GetMetaData() crashes on linux
The function ResultSet::GetMetaData() crashes on linux, but works perfectly on linux. I have a dynamic library that links to Database layer. This library handles the connection and handling of database data. And there is an executable that loads this library. Inside this library I have a class that ...
- Fri Aug 28, 2009 7:19 pm
- Forum: C++ Development
- Topic: wxLogDebug Crashes
- Replies: 2
- Views: 1517
- Thu Aug 27, 2009 8:54 pm
- Forum: C++ Development
- Topic: wxLogDebug Crashes
- Replies: 2
- Views: 1517
This gets printed on execution: *** glibc detected *** /home/spin/SpinGateway/C/LibraryTest/LibraryTest/bin/Debug/LibraryTest: corrupted double-linked list: 0x08061c40 *** ======= Backtrace: ========= /lib/libc.so.6[0xb718b654] /lib/libc.so.6[0xb718b8f4] /lib/libc.so.6[0xb718d845] /lib/libc.so.6(__l...
- Thu Aug 27, 2009 8:22 pm
- Forum: C++ Development
- Topic: wxLogDebug Crashes
- Replies: 2
- Views: 1517
wxLogDebug Crashes
On wxlogdebug the program crashes with **SIGABRT. There are many wxlogdebug through out the code, but after the constructor of a class I designed, any wxlogdebug crashes without printing. Here is some code to show what happens: this code is on my executable wxLogDebug("before"); CdbCanaisT...
- Tue Aug 11, 2009 6:42 pm
- Forum: Platform Related Issues
- Topic: Shared Memmory between process
- Replies: 4
- Views: 1788
Actually the application will work a little different on windows and linux, so I would only like to share wxMutex between windows processes. Using Windows api you need to create a mutex with a name, then you just need to open this mutex using the same name it was created. But if I could do this with...
- Mon Aug 10, 2009 6:23 pm
- Forum: wxCode
- Topic: databaselayer Postgres link
- Replies: 4
- Views: 2938
- Mon Aug 10, 2009 6:17 pm
- Forum: Platform Related Issues
- Topic: Shared Memmory between process
- Replies: 4
- Views: 1788
Thanks after some researching I found out that these are the best (only) way to do this on linux. But I wouldnt use boost because it is extreamely similar to the native functions, so I dont see way use an external library for it. One more question, how do I share wxMutex between processes, on linux ...
- Thu Aug 06, 2009 6:14 pm
- Forum: C++ Development
- Topic: Equivalent classes in wxWidget for mfc
- Replies: 2
- Views: 891
If you search on google you can find a conversion table between wxwidgets and mfc. If its not on the table, the conversion is not just search and replace you will need to find some other way to do the same thing. There is a book that is very good about wxWidgets, i forgot it's name. It has a chapter...
- Wed Aug 05, 2009 8:08 pm
- Forum: Platform Related Issues
- Topic: Shared Memmory between process
- Replies: 4
- Views: 1788
Shared Memmory between process
I'd like to share memmory between process that are using the same library on linux. I am still learning how linux works, So what I want is just if someone has some hints and tips of where to begin what sort of things I should use. What I need is to share c++ objects between process that use the same...
- Wed Aug 05, 2009 5:07 pm
- Forum: C++ Development
- Topic: Problems with threads
- Replies: 18
- Views: 3994
- Tue Aug 04, 2009 6:48 pm
- Forum: C++ Development
- Topic: Dll String loading
- Replies: 11
- Views: 2547
A cross-platform solution is the .po file. It can be used to translate aplications but I use it as a string table. I have an aplication for windows that I am porting so what I did was a short aplication that read the resource aplication and created the po file. So when on linux instead of reading th...