[C#, XP] Application crashes during RakPeerInterface::connect
LeBoozer opened this issue · 1 comments
I ported the project via SWIG to C#. The provided sample runs fine on machines like win7, win10 but crashes on XP as soon as i try to connect the client to a running server (for simplicity both running on the same system!). The sample has not been modified.
It's working if the client cannot find the sever (e.g. due to not firing up the server...). I tried to catch all possible exception which can be catched in C#, but no luck here. Just the typical XP prompt (xyz has encountered a problem and needs to close. Send Error Report, Don't Send)
The port was done via visual studio 2015 with the toolset vs140_xp (otherwise it won't even start the application due to missing XP support).
I have no experience with using RakNet on Windows XP, but the initial stand out difference between those operating systems is that I'd assume your Win7 and Win10 are both 64bit and your Win XP is likely 32bit (?) If so, I'd be suspicious that you're running into some type size differences.