Changeset 806 in dev for branches/egtra/ab5.0/abdev/BasicCompiler_Common
- Timestamp:
- Feb 12, 2011, 2:32:22 AM (14 years ago)
- Location:
- branches/egtra/ab5.0/abdev/BasicCompiler_Common
- Files:
-
- 1 deleted
- 4 edited
- 2 moved
Legend:
- Unmodified
- Added
- Removed
-
branches/egtra/ab5.0/abdev/BasicCompiler_Common/BasicCompiler.cpp
r801 r806 731 731 if( program.IsClipCompileView() ){ 732 732 //ProjectEditor埋め込み型インターフェイス 733 hMainDlg=CreateDialog(hInst, MAKEINTRESOURCE(IDD_CLIPMAIN),hOwnerEditor,(DLGPROC)DlgCompile);733 hMainDlg=CreateDialog(hInst, MAKEINTRESOURCE(IDD_CLIPMAIN), hOwnerEditor, DlgCompile); 734 734 ShowWindow(hMainDlg,SW_SHOW); 735 735 SendMessage(hOwnerEditor,WM_SETCOMPILEVIEW,0,(LPARAM)hMainDlg); … … 773 773 774 774 //エラーリストをサブクラス化 775 OldErrorListProc=(WNDPROC)GetWindowLongPtr(GetDlgItem(hMainDlg,IDC_ERRORLIST),GWLP_WNDPROC); 776 SetWindowLongPtr(GetDlgItem(hMainDlg,IDC_ERRORLIST),GWLP_WNDPROC,(LONG_PTR)ErrorListProc); 775 OldErrorListProc = reinterpret_cast<WNDPROC>(SetWindowLongPtr(GetDlgItem(hMainDlg, IDC_ERRORLIST), GWLP_WNDPROC, reinterpret_cast<LONG_PTR>(ErrorListProc))); 777 776 778 777 //デバッグリストをサブクラス化 779 OldDebugListProc=(WNDPROC)GetWindowLongPtr(GetDlgItem(hMainDlg,IDC_DEBUGLIST),GWLP_WNDPROC); 780 SetWindowLongPtr(GetDlgItem(hMainDlg,IDC_DEBUGLIST),GWLP_WNDPROC,(LONG_PTR)DebugListProc); 778 OldDebugListProc = reinterpret_cast<WNDPROC>(SetWindowLongPtr(GetDlgItem(hMainDlg, IDC_DEBUGLIST), GWLP_WNDPROC, reinterpret_cast<LONG_PTR>(DebugListProc))); 781 779 782 780 if( program.IsKickedFromEditor() ) -
branches/egtra/ab5.0/abdev/BasicCompiler_Common/common.h
r764 r806 1 1 #pragma once 2 2 3 //#define _CRT_SECURE_NO_DEPRECATE 4 # pragma warning(disable : 4996)3 4 #include <psapi.h> 5 5 6 6 #include <option.h> … … 17 17 18 18 #include "../BasicCompiler_Common/NonVolatile.h" 19 #include "../BasicCompiler_Common/psapi.h"20 19 21 20 … … 42 41 #define PLATFORM 64 43 42 #else 44 #define PLATFORM 32 45 #ifndef LONG_PTR 46 typedef long LONG_PTR; 47 typedef DWORD ULONG_PTR; 48 #endif 43 #define PLATFORM 32 49 44 #endif 50 45 … … 221 216 222 217 //hash.cpp 223 int hash_default(const char *name);224 218 DllProc *GetDeclareHash(const char *name); 225 219 void GetOverloadSubHash( const char *lpszName, std::vector<const UserProc *> &subs ); -
branches/egtra/ab5.0/abdev/BasicCompiler_Common/hash.cpp
r803 r806 12 12 13 13 using namespace ActiveBasic::Compiler; 14 15 int hash_default(const char *name){16 int key;17 18 for(key=0;*name!='\0';name++){19 key=((key<<8)+ *name )%MAX_HASH;20 }21 22 return key;23 }24 14 25 15 DllProc *GetDeclareHash(const char *fullName){ -
branches/egtra/ab5.0/abdev/BasicCompiler_Common/src/BoostSerializationSupport.cpp
r776 r806 1 #pragma warning(disable : 4996)2 3 1 #include <map> 4 2 #include <string>
Note:
See TracChangeset
for help on using the changeset viewer.