WinExec not only causes delays, but also causes the message to be re-entered.
Here is the call stack:
winvoicecc.exe! Cwinvoiceccdlg::onmsghttpreq (unsigned int wparam=38434384, long lparam=0) line 624C + +
mfc90d.dll! cwnd::onwndmsg (unsigned int message=2564, unsigned int wparam=38434384, long lparam=0, long * presult=0x0012e4dc) line 2018 + 0x11 bytesC++
mfc90d.dll! Cwnd::windowproc (unsigned int message=2564, unsigned int wparam=38434384, long lparam=0) row 1755 + 0x20 byteC++
mfc90d.dll! Afxcallwndproc (CWnd * pwnd=0x0012f9b4, hwnd__ * hwnd=0x0034062c, unsigned int nmsg=2564, unsigned int wparam=38434384, lon G lparam=0) line + 0x1c byteC++
mfc90d.dll! AfxWndProc (hwnd__ * hwnd=0x0034062c, unsigned int nmsg=2564, unsigned int wparam=38434384, long lparam=0) row 403C++
mfc90d.dll! Afxwndprocbase (hwnd__ * hwnd=0x0034062c, unsigned int nmsg=2564, unsigned int wparam=38434384, long lparam=0) row 441 + 0x15 BytesC++
[Email protected] () + 0x28 bytes
[Email protected] () + 0xb7 bytes
[Email protected] () + 0x4d bytes
[Email protected] () + 0x24 bytes
[Email protected] () + 0x13 bytes
[Email protected] () + 0xc bytes
[Email protected] () + 0xaf bytes
winvoicecc.exe! Cexternexecmdservice::execute (const char * lpszcmd=0x004eef48, const char * lpszparams=0x024a2fd8) rows + 0x1d bytesC++
WinExec may cause messages to be re-entered