- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello everyone,
I'm using a dialog based fortran windows application to inform about the progress of a longer lasting calculation.
Duringthe dlg_init event I'm creating a worker thread to do the computation so the main thread can update the Dialog.
My problem is that I don't know the best way to terminate the program once the calculation is done. This is nescessary, since the program should be used within a batchjob.
At the moment I'm using
call PostMessage(dlg%hwnd, WM_CLOSE, 0, 0)
or
call PostMessage(dlg%hwnd, WM_QUIT, 0, 0)
when the above function call does not work.
Thanks
Felix
Message Edited by fobermaier on 01-21-2005 05:05 PM
Link Copied
0 Replies

Reply
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page