public inbox for cygwin@cygwin.com
 help / color / mirror / Atom feed
* Linking to dlls.
@ 2001-02-14 13:26 Jim Baumbach
  2001-02-14 13:35 ` DJ Delorie
  2001-02-14 13:36 ` Larry Hall (RFK Partners Inc)
  0 siblings, 2 replies; 4+ messages in thread
From: Jim Baumbach @ 2001-02-14 13:26 UTC (permalink / raw)
  To: cygwin

I would like (and who wouldn't) to be able to call routines in windows
dlls from my gcc compiled C programs.  For example, in user32.dll.
there's an entry point MapVirtualKey that will have the effect of
sending a keystroke to the active window.  Is this possible?  
		-jim

--
Want to unsubscribe from this list?
Check out: http://cygwin.com/ml/#unsubscribe-simple

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: Linking to dlls.
  2001-02-14 13:26 Linking to dlls Jim Baumbach
@ 2001-02-14 13:35 ` DJ Delorie
  2001-02-14 13:36 ` Larry Hall (RFK Partners Inc)
  1 sibling, 0 replies; 4+ messages in thread
From: DJ Delorie @ 2001-02-14 13:35 UTC (permalink / raw)
  To: jsb; +Cc: cygwin

> I would like (and who wouldn't) to be able to call routines in windows
> dlls from my gcc compiled C programs.  For example, in user32.dll.
> there's an entry point MapVirtualKey that will have the effect of
> sending a keystroke to the active window.  Is this possible?  

Yes.  All Win32 functions are available to Cygwin and Mingw programs.

--
Want to unsubscribe from this list?
Check out: http://cygwin.com/ml/#unsubscribe-simple

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: Linking to dlls.
  2001-02-14 13:26 Linking to dlls Jim Baumbach
  2001-02-14 13:35 ` DJ Delorie
@ 2001-02-14 13:36 ` Larry Hall (RFK Partners Inc)
  2001-02-14 14:22   ` Tor Lillqvist
  1 sibling, 1 reply; 4+ messages in thread
From: Larry Hall (RFK Partners Inc) @ 2001-02-14 13:36 UTC (permalink / raw)
  To: Jim Baumbach, cygwin

At 04:25 PM 2/14/01, Jim Baumbach wrote:
>I would like (and who wouldn't) to be able to call routines in windows
>dlls from my gcc compiled C programs.  For example, in user32.dll.
>there's an entry point MapVirtualKey that will have the effect of
>sending a keystroke to the active window.  Is this possible?  

Sure, why wouldn't it be?  Cygwin wouldn't exist at all if we couldn't 
call the Win32 API.


Larry Hall                              lhall@rfk.com
RFK Partners, Inc.                      http://www.rfk.com
118 Washington Street                   (508) 893-9779 - RFK Office
Holliston, MA 01746                     (508) 893-9889 - FAX
                                        


--
Want to unsubscribe from this list?
Check out: http://cygwin.com/ml/#unsubscribe-simple

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: Linking to dlls.
  2001-02-14 13:36 ` Larry Hall (RFK Partners Inc)
@ 2001-02-14 14:22   ` Tor Lillqvist
  0 siblings, 0 replies; 4+ messages in thread
From: Tor Lillqvist @ 2001-02-14 14:22 UTC (permalink / raw)
  To: Jim Baumbach, cygwin

 > >there's an entry point MapVirtualKey that will have the effect of
 > >sending a keystroke to the active window.  Is this possible?  

 > Sure, why wouldn't it be?  Cygwin wouldn't exist at all if we couldn't 
 > call the Win32 API.

But note that MapVirtualKey() doesn't send any keystroke to a window,
dunno what gave you that idea.

--tml


--
Want to unsubscribe from this list?
Check out: http://cygwin.com/ml/#unsubscribe-simple

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2001-02-14 14:22 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2001-02-14 13:26 Linking to dlls Jim Baumbach
2001-02-14 13:35 ` DJ Delorie
2001-02-14 13:36 ` Larry Hall (RFK Partners Inc)
2001-02-14 14:22   ` Tor Lillqvist

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).