Mail Archives: djgpp/1998/07/26/20:45:17
From: | "Summersnow" <rbouy AT eatel DOT net>
|
Subject: | Hmm porting code from Borland 3.0
|
Newsgroups: | comp.os.msdos.djgpp
|
Message-ID: | <01bdb8f8$2efbdc60$402a3ed1@robs-house>
|
NNTP-Posting-Host: | max4-64.eatel.net
|
Date: | 27 Jul 98 00:47:23 GMT
|
Lines: | 20
|
To: | djgpp AT delorie DOT com
|
DJ-Gateway: | from newsgroup comp.os.msdos.djgpp
|
I am porting a "Portable" GUI library written in Borland 3.0 and am
attempting to port it with DJGPP.
However, I am having a slight problem (just because i am over my head:)
this line of code is the second line of code in a header file:
long FAR PASCAL _export WndProc( HWND hWnd, WORD iMessage,
WORD wParam, LONG lParam );
(the first line being -- 'extern "C" {void sprintf (...); void exit
(int);};)
the error generated is a syntax error before '('
any thoughts on the matter would be greatly apprieciated.
-Lost in a sea of Code
Robert J. Bouy
rbouy AT eatel DOT net
- Raw text -