Index: src/ch/UpdateChecker.cpp =================================================================== diff -u -r2457755b4084e3d1c80a8e7c77c9f0996312941b -r9f104b1c0d552cbe2d1c6b799388af53acce8228 --- src/ch/UpdateChecker.cpp (.../UpdateChecker.cpp) (revision 2457755b4084e3d1c80a8e7c77c9f0996312941b) +++ src/ch/UpdateChecker.cpp (.../UpdateChecker.cpp) (revision 9f104b1c0d552cbe2d1c6b799388af53acce8228) @@ -299,7 +299,7 @@ /// @param[in] lpvStatusInformation Additional status information. /// @param[in] dwStatusInformationLength Length of lpvStatusInformation. // ============================================================================ -void CAsyncHttpFile::InternetStatusCallback(HINTERNET hInternet, DWORD_PTR dwContext, DWORD dwInternetStatus, LPVOID lpvStatusInformation, DWORD dwStatusInformationLength) +void CALLBACK CAsyncHttpFile::InternetStatusCallback(HINTERNET hInternet, DWORD_PTR dwContext, DWORD dwInternetStatus, LPVOID lpvStatusInformation, DWORD dwStatusInformationLength) { CString strMsg; strMsg.Format(_T("[CAsyncHttpFile::InternetStatusCallback] hInternet: %p, dwContext: %lu, dwInternetStatus: %lu, lpvStatusInformation: %p, dwStatusInformationLength: %lu\n"), Index: src/ch/UpdateChecker.h =================================================================== diff -u -rf34d204b8eecd6817dbe4a1c3b3541cf9a8794b0 -r9f104b1c0d552cbe2d1c6b799388af53acce8228 --- src/ch/UpdateChecker.h (.../UpdateChecker.h) (revision f34d204b8eecd6817dbe4a1c3b3541cf9a8794b0) +++ src/ch/UpdateChecker.h (.../UpdateChecker.h) (revision 9f104b1c0d552cbe2d1c6b799388af53acce8228) @@ -55,7 +55,7 @@ bool IsClosed() const { return m_hOpenUrl == NULL; } protected: - static void InternetStatusCallback(HINTERNET hInternet, DWORD_PTR dwContext, DWORD dwInternetStatus, LPVOID lpvStatusInformation, DWORD dwStatusInformationLength); + static void CALLBACK InternetStatusCallback(HINTERNET hInternet, DWORD_PTR dwContext, DWORD dwInternetStatus, LPVOID lpvStatusInformation, DWORD dwStatusInformationLength); void SetUrlHandle(HANDLE hOpenUrl); void SetErrorCode(DWORD dwError);