I have an app that uses the wininet libraries to do some server posting/requesting. 99.9% of the time it works perfectly, but once in a blue moon the app will crash on an invalid memory reference while attempting to do ::InternetAttemptConnect(NULL). Sorry that the description is rather vague, but does anyone have any ideas on what might trigger this issue?
A:
Are you obeying WinInet's multhithreading guarantees? WinInet is only somewhat thread safe; see this posting for more info.
David Seiler
2009-07-25 13:53:15