Why did I get a error message on the call to CFtpConnection's SetCurrentDirectory()?
C / C++ / MFC
1
Posts
1
Posters
0
Views
1
Watching
-
I'm writing a multi-threaded FTP searching program under Win 2k. But sometimes I got error message like "memory 'XXXXXXXXX' cannot be 'written'" from WININET.DLL and sometimes I got "Unhandled exception" from NTDLL.DLL when I call SetCurrentDirectory() to get into the child directory. The child directory actually exists, and MSDN said these functions don't throw exceptions! I was completely confused. What cause this error? Could anyone give me some suggestions? Thanks a lot.:confused: :confused: Law is meaningless without chaos. Chaos without Law is equal to destruction. Chaos and Law create our rich and colorful world.