Go Back   FlashFXP Forums > >

Programming Need help with C/C++/Delphi? Ask here and make us all laugh.

Closed Thread
 
Thread Tools Rate Thread Display Modes
Old 04-13-2005, 03:33 PM   #1
mr_F_2
Senior Member
 
Join Date: Jan 2004
Posts: 203
Default

Quote:
Originally posted by deo
ok, got rid of them, now i got this:

Code:
/*
 * Microsoft extended APIs.
 */
int
PASCAL FAR
WSARecvEx (
    SOCKET s,
    char FAR *buf,
    int len,
    int FAR *flags
    );


c:\program files\microsoft visual studio\vc98\include\mswsock.h(68) : error C2146: syntax error : missing ';' before identifier 'FAR'
c:\program files\microsoft visual studio\vc98\include\mswsock.h(68) : fatal error C1004: unexpected end of file found

welcome to dumbass materclass :/
i might be wrong, but shouldn't there be semi colons after each line?
SOCKET s;
char FAR *buf;
int len;
int FAR *flags;

and this:
Quote:
int
PASCAL FAR
looks like a double definnition

try using the winsock2.h instead man, mswinsock seems to hate you
mr_F_2 is offline  
Closed Thread

Tags
cprogram, error, filesmicrosoft, syntax, visual

Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -5. The time now is 11:43 AM.

Parts of this site powered by vBulletin Mods & Addons from DragonByte Technologies Ltd. (Details)