mirror of
https://github.com/electronicarts/CNC_TS_and_RA2_Mission_Editor.git
synced 2025-07-17 19:56:38 -04:00
support x64
This commit is contained in:
parent
99f9d7eb83
commit
3e334ca731
16 changed files with 549 additions and 16 deletions
|
@ -2705,7 +2705,7 @@ BOOL CFinalSunDlg::OnNotify(WPARAM wParam, LPARAM lParam, LRESULT* pResult)
|
|||
if(pHead->code==TTN_NEEDTEXT)
|
||||
{
|
||||
TOOLTIPTEXT *pTTT = (TOOLTIPTEXT *)pHead;
|
||||
UINT nID =pHead->idFrom;
|
||||
auto nID =pHead->idFrom;
|
||||
if (pTTT->uFlags & TTF_IDISHWND)
|
||||
{
|
||||
// idFrom ist der HWND des Tools
|
||||
|
@ -3090,7 +3090,7 @@ LONG __stdcall ExceptionHandler(
|
|||
CString s_add;
|
||||
char adress[50];
|
||||
char c[50];
|
||||
itoa((int)ExceptionInfo->ExceptionRecord->ExceptionAddress, adress, 16);
|
||||
itoa((std::ptrdiff_t)ExceptionInfo->ExceptionRecord->ExceptionAddress, adress, 16);
|
||||
s="Unknown exception";
|
||||
switch(ExceptionInfo->ExceptionRecord->ExceptionCode)
|
||||
{
|
||||
|
@ -3252,7 +3252,7 @@ LONG __stdcall ExceptionHandler(
|
|||
return EXCEPTION_EXECUTE_HANDLER;//EXCEPTION_CONTINUE_SEARCH;//EXCEPTION_EXECUTE_HANDLER;
|
||||
}
|
||||
|
||||
int CFinalSunDlg::DoModal()
|
||||
INT_PTR CFinalSunDlg::DoModal()
|
||||
{
|
||||
int res=0;
|
||||
SetUnhandledExceptionFilter(ExceptionHandler);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue