Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations wOOdy-Soft on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

dumpout.cpp

Status
Not open for further replies.

ForeverCode

Programmer
Dec 6, 2002
41
US
In the program I'm writting I'm getting a "Bug Assertion Failed!" It happens in Dumpout.cpp on line 52. What could be causing this? All my program is doing is it waits for a connection, once something connects it spawns a new thread, passes the connection to the thread, gets the data, opens the specified file, and sends the data. It works fine if I make one connection at a time, but when I make a bunch of connections at the same time it crashes. Since its multithreaded its imposible to debug. Any tips? If you need to see my code I'd be glad to let you view it.

-Micah
 
Nevermind...A friend said I was passing a bogus (and really long) file name to CFile::Open. So, I did away with Cfile and used regular fopen(); Problem all fixed:)
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top