Program crash when i call recv() function in release mode not in debug.
My program crashed when i call recv() in release mode , but i work fine in debug mode.When it crash,system report "access violate".
What can cause it?
If the socket function confict with MFC?
Help please!
regards
hos
Re: Program crash when i call recv() function in release mode not in debug.
My guess is Buffer for the incoming data is not
properly allocated and you are trying to access
memory which is invalid. So please check for 2nd argument in recv...
If this doesn't solve problem use NuMega's BoundsChecker
Vijay Khot
Software Consultant,
ICEM Technologies, Arden Hills,
MN 55112 USA