Grit
December 3rd, 2007, 07:52 AM
Hi
I have a program that tries to create an UDP Conenction
When I call this line in release mode:
if (!Create(nPort, SOCK_DGRAM, FD_READ|FD_WRITE|FD_OOB|FD_ACCEPT|FD_CONNECT|FD_CLOSE, m_strNet))
then the program produces a windows popup messages that "a ressource is not available" and then the program stops. I added an errormessage under this line to try to get the last error but I never get to that line. When I compile the program as debug version then it works fine. What could be wrong?
thanks
Grit
I have a program that tries to create an UDP Conenction
When I call this line in release mode:
if (!Create(nPort, SOCK_DGRAM, FD_READ|FD_WRITE|FD_OOB|FD_ACCEPT|FD_CONNECT|FD_CLOSE, m_strNet))
then the program produces a windows popup messages that "a ressource is not available" and then the program stops. I added an errormessage under this line to try to get the last error but I never get to that line. When I compile the program as debug version then it works fine. What could be wrong?
thanks
Grit