Search found 674 matches

by briceandre
Tue Oct 26, 2010 11:43 am
Forum: C++ Development
Topic: wxDatagramSocket works in event, but not in multithread?
Replies: 3
Views: 1736

I think you must invoke wxSocketBase::Initialize() in the main thread (in the init function, for example) before using sockets in other threads
by briceandre
Mon Oct 11, 2010 1:12 pm
Forum: C++ Development
Topic: crash in WinMain(HINSTANCE__
Replies: 1
Views: 1056

Hard to say without the code. Is it possible to post it ?

Did you check the way windows are destroyed ? Are you sure you are not using a previously destroyed window ?

Regards,
Brice
by briceandre
Mon Oct 11, 2010 1:07 pm
Forum: Compiler / Linking / IDE Related
Topic: What build options did I use?
Replies: 1
Views: 832

Hello, If you used "./configure && make && make install" to compile wxWidgets, there is probably a file generated by the configure script that will tell you which options you used. For the problem of dynamic link, if you run your application on a machine on which wxWidgets ...
by briceandre
Thu Sep 16, 2010 2:17 pm
Forum: Compiler / Linking / IDE Related
Topic: /lib/libwxzlib-2.8.a vs /lib/gcc_dll/libwxzlib.a
Replies: 5
Views: 1527

As previously said, it depends on the way you compile. If you do not use MSys and compile directly from a Windows Shell by typing something like 'mingw32-make -f makefile.gcc BUILD=...' in the directory "wxdir/build/msw, I think you will always find your libraries in 'wxdir/lib/gcc_lib. In all ...
by briceandre
Thu Sep 16, 2010 2:06 pm
Forum: C++ Development
Topic: how to insert image into email from wxemail
Replies: 1
Views: 943

Hello, What you try to do requires to encode the content of your message in the MIME format, which is not handled by wxEmail. Maybe that, if you properly encode your message in MIME format, and put, as the content of the message, the MIME encoded content, it will work, but I am not sure. If you want...
by briceandre
Thu Sep 16, 2010 1:42 pm
Forum: C++ Development
Topic: wxSMTP and sending emails immediately
Replies: 2
Views: 1002

Hello,

Try to post your code, if it has a reasonable size.

It is quite hard to answer without it
by briceandre
Thu Sep 16, 2010 1:36 pm
Forum: Compiler / Linking / IDE Related
Topic: /lib/libwxzlib-2.8.a vs /lib/gcc_dll/libwxzlib.a
Replies: 5
Views: 1527

The exact name will depend on the way you compiled wxWidgets.

Search something like :
wxdir/lib/gcc_lib/libwxzlib.a
by briceandre
Thu Sep 16, 2010 9:44 am
Forum: Platform Related Issues
Topic: wxMSW : main frame not displayed
Replies: 8
Views: 7504

OK, so much for me. I should have completely read the manual section on wxExecute before using it... So, I will explain my stupid error so that, if someone else encounters the same problem, maybe it will help.... For a reason that I did not understood, under Windows, when launching an asynchronous p...
by briceandre
Thu Sep 16, 2010 9:09 am
Forum: Platform Related Issues
Topic: wxMSW : main frame not displayed
Replies: 8
Views: 7504

Hello, I reproduced nearly the same bug on a WinXP SP-3, with wxWidgets 2.8.11. I say "nearly" the same bug because, in that case, adding a line code to Maximize the frame seems to completely solve the problem (on Win 7 with my app, adding this instruction solved the problem, but it reappe...
by briceandre
Thu Sep 16, 2010 6:47 am
Forum: Platform Related Issues
Topic: wxMSW : main frame not displayed
Replies: 8
Views: 7504

Oups, I just realised that I only answered one of your questions. I have no idea of what happens when launching another application, but I will perform the test with notepad, as you suggested. I will not be able to perform any test before this evening, but I will come back with my results as soon as...
by briceandre
Thu Sep 16, 2010 6:43 am
Forum: Platform Related Issues
Topic: wxMSW : main frame not displayed
Replies: 8
Views: 7504

The first application (the one that launches the main application) is also written with wxWidgets, but is a dialog-based application (no wxFrame). It uses the wxExecute command to launch the main application, passing in argument a wxProcess to be notified when the main application finishes. It perfo...
by briceandre
Wed Sep 15, 2010 7:51 pm
Forum: Platform Related Issues
Topic: wxMSW : main frame not displayed
Replies: 8
Views: 7504

Hello, Thank you for your answer, and sorry for the long delay before I reply. I was not able to generate the problem on my computer so, it was very difficult to perform tests. I finnaly was able to reproduce the problem on my computer and so, I am now able to isolate the problem on a very simple co...
by briceandre
Tue Sep 07, 2010 12:56 pm
Forum: Platform Related Issues
Topic: wxMSW : main frame not displayed
Replies: 8
Views: 7504

Hello,

I performed additional checks and it seems that the problem only appears on PC running Windows 7. No computer running Windows Vista or XP seem to be affected by this problem.

Still no idea ?

Regards,
Brice
by briceandre
Tue Aug 31, 2010 6:35 am
Forum: Platform Related Issues
Topic: wxMSW : main frame not displayed
Replies: 8
Views: 7504

wxMSW : main frame not displayed

Hello, I have written an application by using wxWidgets. This application is used on several platforms. Until a few month, it was directly started by a shortcut on the desktop. Now, I have written another application that is in charge of launching the main one. It is also responsible of other suff l...