ftp.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1996/06/05/08:40:31

From: "A.Appleyard" <A DOT APPLEYARD AT fs2 DOT mt DOT umist DOT ac DOT uk>
Organization: Materials Science Centre
To: DJGPP AT DELORIE DOT COM
Date: Wed, 5 Jun 1996 13:34:51 GMT
Subject: Windows for djgpp
Message-ID: <211A05B344F@fs2.mt.umist.ac.uk>

  It seems that, to write Windows applications in djgpp, I must write in the
ordinary way, produce an A.OUT, and then translate that A.OUT to an *.EXE with
RSX. But RSX does not have a WINDOWS.H file, and I am told to get one where I
can. The one WINDOWS.H file that I have (it is Visual C++'s) contains these
definitions, and often uses the words thereby defined:-
    #define FAR               _far
    #define NEAR              _near
    #define PASCAL            _pascal
    #define CDECL             _cdecl
  So that djgpp can read this WINDOWS.H, can I simply equivalence these four
words to null? Or edit them out wherever they occur?

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019