Thread: Winsockers

  1. #1
    Registered User billholm's Avatar
    Join Date
    Apr 2002
    Posts
    225

    Question Winsockers

    Hey guys!

    Is it possible to run a Winsock application programmed under 16-bit environment in a 32-bit environment?

    Actually, I don't know if this is the right question for expressing my idea. But so far, winsock applications I programmed under Windows 95 FAT16 won't work when I run them under Windows 98 FAT32. I made sure I never leave any dangling pointers and overrun arrays, but "General Protection Faults" often crop up.

    I'm currently using Borland C++ 3.1 (a 1991 release originally designed for Windows 3.1).

    I don't know where to start looking for the problem. It's very mind-boggling.
    All men are created equal. But some are more equal than others.

    Visit me at http://www.angelfire.com/my/billholm

  2. #2
    &TH of undefined behavior Fordy's Avatar
    Join Date
    Aug 2001
    Posts
    5,793
    Best bet....get a new compiler.....

    Borland offer a commandline version of builder for free......so you have no excuses

    Also DevC++ is nice and has all the libs....

  3. #3
    train spotter
    Join Date
    Aug 2001
    Location
    near a computer
    Posts
    3,868
    Win95 used winsock, Win98 and later uses winsock2.

    Try a GetVersionEx() call determine which to use, may solve some of your problems but a new compiler is needed. (and patch your Win95 to winsock2)
    "Man alone suffers so excruciatingly in the world that he was compelled to invent laughter."
    Friedrich Nietzsche

    "I spent a lot of my money on booze, birds and fast cars......the rest I squandered."
    George Best

    "If you are going through hell....keep going."
    Winston Churchill

Popular pages Recent additions subscribe to a feed