public inbox for cygwin@cygwin.com
 help / color / mirror / Atom feed
* getting the application instance
@ 1997-06-21 23:22 Peter Ham
  0 siblings, 0 replies; only message in thread
From: Peter Ham @ 1997-06-21 23:22 UTC (permalink / raw)
  To: gnu-win32

I want to get access to the HANDLE hInstance normally passed
as the first parameter to WinMain(), but I don't want to have
a WinMain() function. How does the gnuwin library get access
to this, I notice that the value seems to be 0x40000 (or something
with more or less zeros's). Does it change? Can I call
an api function to get the same value, I just want to pass it to
create window?
Since gnuwin calls WinMain() on startup, it must somehow have this
information. I don't have immediate access to the source to 
investigate this myself.

Peter Ham


-
For help on using this list (especially unsubscribing), send a message to
"gnu-win32-request@cygnus.com" with one line of text: "help".

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~1997-06-21 23:22 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
1997-06-21 23:22 getting the application instance Peter Ham

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).