Search found 172 matches

by rodrigod
Tue Sep 29, 2009 6:58 pm
Forum: wxCode
Topic: Databaselayer ResultSet::GetMetaData() crashes on linux
Replies: 2
Views: 1058

Still no fix, can any one help me?
by rodrigod
Thu Sep 10, 2009 8:27 pm
Forum: C++ Development
Topic: Thread TestDestroy()
Replies: 5
Views: 1545

Thanks,

I had read only the htmlhelp that comes with the library and the sample, but on this documentation the it has a better example for what i needed. It solved more than one doubt I had.
by rodrigod
Wed Sep 09, 2009 7:55 pm
Forum: C++ Development
Topic: Thread TestDestroy()
Replies: 5
Views: 1545

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...
by rodrigod
Wed Sep 09, 2009 7:41 pm
Forum: wxCode
Topic: Databaselayer ResultSet::GetMetaData() crashes on linux
Replies: 2
Views: 1058

I still havent been able to understand this, on windows it works perfectly. I have a suposicion that is because DatabaseLayer is passing a pointer to my DLL and doing this may be crashing my app. Does anyone have a clue? Or any workaround?

Thanks
by rodrigod
Mon Aug 31, 2009 7:49 pm
Forum: wxCode
Topic: Databaselayer ResultSet::GetMetaData() crashes on linux
Replies: 2
Views: 1058

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 ...
by rodrigod
Fri Aug 28, 2009 7:19 pm
Forum: C++ Development
Topic: wxLogDebug Crashes
Replies: 2
Views: 681

It was some bizarre linking problem, after recompiling everything it began working again.
by rodrigod
Thu Aug 27, 2009 8:54 pm
Forum: C++ Development
Topic: wxLogDebug Crashes
Replies: 2
Views: 681

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...
by rodrigod
Thu Aug 27, 2009 8:22 pm
Forum: C++ Development
Topic: wxLogDebug Crashes
Replies: 2
Views: 681

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"); CdbCanaisTipoPontos ...
by rodrigod
Tue Aug 11, 2009 6:42 pm
Forum: Platform Related Issues
Topic: Shared Memmory between process
Replies: 4
Views: 1054

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...
by rodrigod
Mon Aug 10, 2009 6:23 pm
Forum: wxCode
Topic: databaselayer Postgres link
Replies: 4
Views: 1521

I still am having this problem, has anyone else had this problem? Cause I have no idea on how to solve it

thanks
by rodrigod
Mon Aug 10, 2009 6:17 pm
Forum: Platform Related Issues
Topic: Shared Memmory between process
Replies: 4
Views: 1054

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 ...
by rodrigod
Thu Aug 06, 2009 6:14 pm
Forum: C++ Development
Topic: Equivalent classes in wxWidget for mfc
Replies: 2
Views: 432

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...
by rodrigod
Wed Aug 05, 2009 8:08 pm
Forum: Platform Related Issues
Topic: Shared Memmory between process
Replies: 4
Views: 1054

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...
by rodrigod
Wed Aug 05, 2009 5:07 pm
Forum: C++ Development
Topic: Problems with threads
Replies: 18
Views: 2438

Are you deleting all the objects you create inside the thread? perhaps you are creating the objects but never deallocating, after some times the memmory allocated gets full.
by rodrigod
Tue Aug 04, 2009 6:48 pm
Forum: C++ Development
Topic: Dll String loading
Replies: 11
Views: 1365

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...