Announcement

Collapse
No announcement yet.

Error 57

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • Error 57

    Hi Guys,

    Having issue with trying to open a upd port statement. It keeps throwing up an error 57. The operating system my program is running on is a minimized windows 98 system.

    I know the code must be fine because it works until I add the file WS2_32.DLL which is needed by other applications.


    hUdp = FREEFILE
    UDP OPEN PORT %UPort AS hUdp TIMEOUT 60000
    MsgBox(str$(err) ) + $crlf+str$(%UPort )
    IF ERR Then Exit FUNCTION

    regardless of the port I open i still get 57.

    Any IDeas ?

    Paul

  • #2
    My first thought was check the HOST file in the windows directory as suggested in the manual, but it doesn't relate directly to the problem you are having.

    I don't really have any idea what's happening here, but I am interested in the answer, if anybody else has a good one.

    Stan
    Do not go quiet into that good night,
    ... Rage, rage against the dark.

    Comment


    • #3
      Works OK on mine (XP) with port 7. What was Windows 98 then, some sort of old operating system? ;-}

      Comment


      • #4
        Its just the operating system that we use on the system that we sell. I hate it believe me.

        but the solution is as follows.

        Just place the application in its own DIR.
        I think because its a cut down version of 98 (lots of files deleted by hand)
        the application was running in a path dir, and thus trying to use files that were depending on other things.

        seems silly to be but its working.

        thanks foryour input.

        Paul.

        Comment

        Working...
        X