Hey guys! :D
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. :confused:
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....
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)