Compilation for MSVC2013, thanks @dalkon

OTclient now compiles in "Microsoft Visual Studio 2013 Express for Windows Desktop"
All the needed libraries you can download at https://www.dropbox.com/s/2yfb1c763io8efy/otclient-msvc13-libs.zip
NOTE: You have to change VC++ Directories to the properly directories
NOTE: Latested MSVC 2013 or greated is required
This commit is contained in:
Eduardo Bart
2013-11-12 16:31:51 -02:00
parent c9597d6682
commit 1060c6f78c
17 changed files with 1514 additions and 34 deletions

View File

@@ -148,10 +148,10 @@ LONG CALLBACK ExceptionHandler(LPEXCEPTION_POINTERS e)
MessageBox(NULL, msg.c_str(), "Application crashed", 0);
// this seems to silently close the application
return EXCEPTION_EXECUTE_HANDLER;
//return EXCEPTION_EXECUTE_HANDLER;
// this triggers the microsoft "application has crashed" error dialog
//return EXCEPTION_CONTINUE_SEARCH;
return EXCEPTION_CONTINUE_SEARCH;
}
void installCrashHandler()

View File

@@ -48,7 +48,7 @@ class WIN32Window : public PlatformWindow
bool isExtensionSupported(const char *ext);
LRESULT windowProc(HWND hWnd, UINT uMsg, WPARAM wParam, LPARAM lParam);
friend class WindowProcProxy;
friend struct WindowProcProxy;
Fw::Key retranslateVirtualKey(WPARAM wParam, LPARAM lParam);