need help with winsock in HLA

From: Chris Beck (spamtrap_at_crayne.org)
Date: 02/06/05

  • Next message: It : "Re: Win32 NASM: compiling with Borland debugging info"
    Date: Sun, 6 Feb 2005 19:24:20 +0000 (UTC)
    
    

    I'm trying to write a program in HLS using wonock, and trying to write error
    handling into it. trouble is, when i add a call to w.WSAGetLastError();
    hlaparse bombs out with a memory violation. i have yet to see a winsock2
    hff file, so i took some things from a post and put them in, they all
    worked fine.. it's just this one function triggers it(so far). here is my
    delaration for WSAGetLastError();

    WSAGetLastError: procedure
    @stdcall;
    @returns{"eax");
    @external("_WSAGetLastError@0");

    if i'm doing somethign obviously wrong, please tell me. thx :)


  • Next message: It : "Re: Win32 NASM: compiling with Borland debugging info"