"Balaji" <ba****@email.arizona.edu> wrote in message
news:49**************************@posting.google.c om...
I'm trying to do some basic socket programming.
here is the line of code which is creating problem..
int FAR PASCAL __declspec (dllexport)(char * addr,int port)
Hers is the error I'm getting..
error C2059: syntax error : '('
Any help is appreciated..
Balaji
Well, it would be hard for me to know what's wrong without knowing what FAR,
PASCAL and __declspec are. I'd guess they're macros, but what they expand
to is unkown. This appears to be Windows stuff (and possibly OLD windows
stuff, given the FAR specifier), so you might ask in a windows newsgroup.
(Also, shouldn't there be a semi-colon at the end of that line?)
-Howard