This is the mail archive of the cygwin mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: cygwin and windows API


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/


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]