Search found 43 matches

by Peer Sommerlund
Tue Nov 14, 2006 12:58 pm
Forum: C++ Development
Topic: wxProcess::Redirect shutdown problem
Replies: 7
Views: 1343

My explanation may not be too clear, so here are the relevant code snippets from exec sample and wxMSW 2.6.3 First the idle loop in the sample // input polling void MyFrame::OnIdle(wxIdleEvent& event) { size_t count = m_running.GetCount(); for ( size_t n = 0; n < count; n++ ) { if ( m_running[n]->Ha...
by Peer Sommerlund
Tue Nov 14, 2006 11:56 am
Forum: C++ Development
Topic: wxProcess::Redirect shutdown problem
Replies: 7
Views: 1343

Hi David I have not run the samples, so this is purely from reading the source. Originally I also thought that wxProcess::IsInputAvailable() would solve my problem, but unfortunately it does not. To determine if data is ready, the sample function MyPipedProcess::HasInput() calls wxProcess::IsInputAv...
by Peer Sommerlund
Tue Nov 14, 2006 9:19 am
Forum: C++ Development
Topic: wxProcess::Redirect shutdown problem
Replies: 7
Views: 1343

wxProcess::Redirect shutdown problem

Hi. I have a GUI application that launches a commandline application and captures its stdio using wxProcess::Redirect() I cannot see a way to wait for input from the child process, at the same time as I'm waiting for input from the GUI. I'm searching for something similar to select() where I can wai...
by Peer Sommerlund
Thu Nov 02, 2006 8:13 am
Forum: C++ Development
Topic: wxTestRunner memory leak
Replies: 1
Views: 353

This bug repout should probably go to Anthon Pang or Baptiste Lepilleur, the authors of wxTestRunner.

Try one of the following links:
http://www.softwaredevelopment.ca/feedback.php
http://sourceforge.net/projects/cppunit/
by Peer Sommerlund
Thu Nov 02, 2006 8:04 am
Forum: C++ Development
Topic: Splitting streams
Replies: 1
Views: 443

Well, you could make 3 threads: A) read from instrument and write into correct stream B) process data stream C) process control data stream To display results from thread B and C you should use events to the graphics thread For details on how to do this, read about wxThread and wxEventHandler . A si...
by Peer Sommerlund
Thu Aug 17, 2006 2:34 pm
Forum: Compiler / Linking / IDE Related
Topic: wxIFM compilation as DLL library
Replies: 7
Views: 1166

After having tried a number of times, I think I need some help. I manage to get wxIFM and demo compiled, but only the static linked versions work. DLL versions both fail runtime. As the Debug configuration gives more feedback, I will describe it below: My first problem was "STATUS_DLL_NOT_FOUND exce...
by Peer Sommerlund
Mon Aug 14, 2006 8:00 am
Forum: C++ Development
Topic: Playing Audio Sample
Replies: 4
Views: 734

by Peer Sommerlund
Tue Aug 08, 2006 8:14 am
Forum: Component Writing
Topic: Timer that fired on certain date/time?
Replies: 2
Views: 1191

A simple solution would be to use wxTimerEvent , to check the timer every 60000 ms (= 1 minute). Your code could have multiple timers, you could alter the time of the alert while waiting for it to occur. If you create a thread for each timer you can have the thread sleep until the alert is set of, t...
by Peer Sommerlund
Tue Aug 08, 2006 7:42 am
Forum: wx.NET
Topic: How to use a class which is built in the Dll (Create Object)
Replies: 4
Views: 4532

Could you post 2 snippets of code:

a) a snippet of the code that creates the class in the DLL
b) a snippet of the code that declares the class in the DLL.
by Peer Sommerlund
Fri Aug 04, 2006 2:56 pm
Forum: Compiler / Linking / IDE Related
Topic: wxIFM compilation as DLL library
Replies: 7
Views: 1166

Hi Konrad.

Just to let you know that I haven't forgotten you - my time seem to be used elsewhere these days. Unfortunately I have not been able to get it to compile with Visual Studio 2005 yet - it may take longer than I expected.

Regards,
Peer
by Peer Sommerlund
Tue Jul 25, 2006 6:43 am
Forum: Compiler / Linking / IDE Related
Topic: wxIFM compilation as DLL library
Replies: 7
Views: 1166

Hi Konrad wxIFM is in progress moving to sourceforge http://sourceforge.net/projects/ifm/ However the transition is not complete yet. Even though I have used wxIFM for half a year now, I'm new on the project, so please have patience a week or so for me to set up the development environment. Could yo...
by Peer Sommerlund
Tue Jul 25, 2006 6:22 am
Forum: Open Discussion
Topic: wxWidgets community at orkut
Replies: 4
Views: 884

by Peer Sommerlund
Mon Jul 24, 2006 2:04 pm
Forum: C++ Development
Topic: drawing anti-aliassed lines
Replies: 3
Views: 647

My memory was slightly wrong. :wink: The name of the agg-wrapper is wxart2d
by Peer Sommerlund
Mon Jul 24, 2006 1:16 pm
Forum: C++ Development
Topic: drawing anti-aliassed lines
Replies: 3
Views: 647

Try http://www.antigrain.com/

My memory tells me that a wx-wrapper exists, with the name wxAgg, but I cannot find it with google - maybe I'm wrong.

You could also try SDL - depending on your needs.
by Peer Sommerlund
Fri Jul 21, 2006 8:58 am
Forum: Compiler / Linking / IDE Related
Topic: Bringing up wxWidgets to work with Code::Blocks
Replies: 5
Views: 2444

Your compiler directories should not include C:\wxWidgets-2.6.3\include\wx\msw - these files are automatically used when you include C:\wxWidgets-2.6.3\include and define __WXMSW__