cygwin and windows API

Lewis Hyatt lhyatt@princeton.edu
Thu Aug 9 15:45:00 GMT 2007


Steven Woody wrote:
> hi,
> 
> can i directly call Windows APIs ( such as creating a window, reading
> from a file ) from a cygwin program written in C ?  if the answer is
> yes, i want to know how i should do that, thanks!
> 
> 

Just #include <windows.h> and write whatever windows program you want, 
it will compile fine with gcc. If your question is how to write windows 
programs, this list isn't likely to help you out but there is tons of 
info on the web, you can start here: http://www.winprog.org/tutorial/

-lewis


--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/



More information about the Cygwin mailing list