This is the mail archive of the
cygwin@sourceware.cygnus.com
mailing list for the Cygwin project.
RE: Console and GenerateConsoleCtrlEvent
- To: "'root at jacob dot remcomp dot fr'" <root at jacob dot remcomp dot fr>
- Subject: RE: Console and GenerateConsoleCtrlEvent
- From: "Boatwright, Charles" <Charles_Boatwright at cisnc dot canon dot com>
- Date: Thu, 10 Jul 1997 12:55:41 -0700
- Cc: "'gnu-win32 at cygnus dot com'" <gnu-win32 at cygnus dot com>
Does the process have a console?
In NT, console processes run in the lower
2 Gigs. Win32 GUIs run in the upper to 2
Gigs. This is the source of the problem.
If I remember correctly, If a console porcess
does not have a Window, then it can't access
any of the message queues. This info is
available in MSDEV. Dig DEEP
into the CreateProcess Call. Also
check MSDN
-cb
>----------
>From: root@jacob.remcomp.fr[SMTP:root@jacob.remcomp.fr]
>Sent: Wednesday, July 09, 1997 10:54 AM
>To: gnu-win32@cygnus.com
>Subject: Console and GenerateConsoleCtrlEvent
>
>iI am trying to stop a process with the 'GneerateConsoleCtrlEvent' API, but
>I get always an Invalid handle error, even if the handle I am passing to it
>seem absolutely OK.
>
>I am doing this from a GUI program.
>
>--snip--
-
For help on using this list (especially unsubscribing), send a message to
"gnu-win32-request@cygnus.com" with one line of text: "help".