Code Comments

Programming Forum and web based access to our favorite programming groups.
For Programmers: Free Programming Magazines | New: Database administration forum
Registration is free! Edit your profileCalendarFind other membersFrequently Asked QuestionsSearch -> 
Post New Thread











Thread
Author

Can you wakeUp cobol please?...
Hello everyone,

I have catch-22 dilemma and need your kind help, again.  I made
a simple graphical window program I will call "Parent", the parent
will launch a console-window (characterBase) program I will call
"child", by using the win32 API "CreateProcess" function, and will
Wait for this program INFINITELY by using the win32 API function
"WaitForSingleObject", until it returns control back to the parent.

the child needs to send a message to the parent during its active
execution time  and request a service operation, for example:
(generate & sort a text file, or launch a GUI-Graphical Program).
however, when the child is active --- the parent is hibernating in
the background in its waiting-state, until it receives the return
code from the child program along with the returned OS control.

My Dilemma? how can I wakeup the parent to respond to the message
it will receive from the child while keeping the status quo??

the workaround is for the child to exit with a special ReturnCode,
and have the parent respond to that request accordingly, and then
the parent would Re-Launch back again the child program so it can
continue its Previous Process --- however, when the child gets
Re-Launched, the end-user will not be able to pickup from where
he or she leftoff the last operation with the child.  Also, Only
the parent program is capabl of launching a Graphical Window
program by using the win32 API "CreateProcess" function.

I am hoping that you have a wakeup call for cobol or me.
thanks a lot for the generous help, Kellie.


Report this thread to moderator Post Follow-up to this message
Old Post
Kellie Fitton
02-24-05 08:55 PM


Sponsored Links




Last Thread Next Thread Next
Search this forum -> 
Post New Thread

Cobol archive

Show a Printable Version Send to friend Email This Page to Someone! subscribe to this thread Receive updates to this thread
Computer Consultants
Programming Jobs
Visual Basic Controls
SQL Server Programming
Webservices
Java Security
Visual Studio
C# Programming
Visual J++
Software engineering
Open source Software
Perl Programming
PHP Programming
ASP Programming
ASP .NET Programming
Visual Basic Programming
Windows Scripting Host
Java Programming
Java Help
Java Beans
VBScript
Cobol
MAC Applications
Unix Programming
Forum Jump:
All times are GMT. The time now is 03:29 AM.

 
Free MCSE Braindumps | Real Estate Topics

Programming forum archive

Copyrights CodeComments.com 2004 - 2006

Powered by vBulletin Copyright 2000-2006 Jelsoft Enterprises Limited.