This is the mail archive of the cygwin@sourceware.cygnus.com 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]

RE: new user to cygwin32...


Peter Amstutz[SMTP:amstpi@freenet.tlh.fl.us] wrote:
>Hello all.  I just recently downloaded & installed the full distribution of
>cygwin32 (all 40 megs of it!) with the intent of learning something about
>windows programming.  From what I have seen, this library is largly intened
>for porting unix/gnu software to a windows environment, but how suitable is
>it for straight windows programming?  I bought the book Programming Windows
>95 (by Charles Petzold) and the examples are designed to work with MS Visual
>C++.  Are there any particular things I should watch out for in compiling
>the VC++ programs under gcc?  (other than re-writing all the makefiles...)

With either the Cygwin API or Mingw32 you should be able to do straight
Windows programming. I believe you might have less trouble with the Petzold
examples if you use Mingw32, but either one can be used for your own
coding.

There are some typos and missing macros in the Win32 API headers which will
cause you trouble with the Programming Windows 95 examples. Implementing
the fixes mentioned on my problem page (http://www.geocities.com/Tokyo
/Towers/6162/gcc-problems.html) might help a little. You're also going to
have trouble with resource compilers I think. The resource compiler lrc 
from lcc (http://www.remcomp.com/lcc-win32) might be your best bet, or
you might consider using lcc itself (since it's also free and a lot less
of a disk/processor hog) for all your programming.

Colin.

-- Colin Peters - colin@bird.fu.is.saga-u.ac.jp
-- Saga University Dept. of Information Science
-- http://www.fu.is.saga-u.ac.jp/~colin/index.html
-- http://www.geocities.com/Tokyo/Towers/6162/

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


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