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]

WINAPI definition


Thanks to everyone who's offered suggestions so far - much appreciated.
I've resolved the "cannot execute binary file" problem, it doesn't happen
under win95b command.com, only under 4DOS (v6). Very odd.

Now a new question: I'm trying to get existing (third-party) Win32 source
to compile, and the following line breaks:

	static BOOL (WINAPI *Ctl3dRegister)(HINSTANCE);


>From looking at preprocessor output, WINAPI is getting expanded to
__attribute__ ((stdcall))

and cc1plus.exe doesn't like this at all.

Any ideas, anyone?

Thanks,
Regards,
Tom.


-
For help on using this list (especially unsubscribing), 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]