Mail Archives: djgpp/1996/06/05/16:59:37
>
> 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?
>
These macros may be very important for the Windows API to work
properly. Generally, all of the Windows entry points require far
data and code pointers and use the pascal calling convention. You may
have to replace PASCAL with something that GNU uses to specify that
calling convention.
- Raw text -