Hey all, wondering if you can help me...
I'm trying to compile some code which uses Winsock (cpIRC wrapper) yet my exe keeps crashing when the socket trys to initilize...
When using Visual C++ 6.0 Standard and I compile in debug or release, I get
When I use Visual Studio .NET 2005 I get
in debug and the program just opens and closes without error in release. It seems to break on line 65:
Microsoft Visual Studio C Runtime Library has detected a fatal error in hh.exe.
Press Break to debug the program or Continue to terminate the program.
_debugger_hook_dummy = 0;
Now I'm thinking this cpIRC wrapper is messed up, so I compile a _simple_ program which also utilizes Winsock, and I get:
in both 6.0 and .NET 2005.
hh.exe has encounted a serious error and needs to be closed
Both using the socket() function by the way....
I've asked someone else to compile both, and they both work fine, so obviously my setup?
I'm using Windows XP with SP2. VS2005.NET:
Visual Studio C++ 6.0 STANDARD, I've also got the C++ Service Pack 6 installed along with the 'Microsoft Platform SDK for Windows Server 2003 R2'
Microsoft Visual Studio 2005
Version 8.0.50727.42 (RTM.050727-4200)
Microsoft .NET Framework Version 2.0.50727
So, anyone got any ideas?