Changeset 266 in dev for trunk/abdev/BasicCompiler_Common/MakeExe.cpp
- Timestamp:
- Aug 7, 2007, 4:14:06 AM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/abdev/BasicCompiler_Common/MakeExe.cpp
r265 r266 24 24 25 25 //最後尾に貼り付け 26 Smoothie::Lexical::source.Addition( temp );26 compiler.GetObjectModule().source.Addition( temp ); 27 27 28 28 HeapDefaultFree(temp); … … 38 38 char temp2[MAX_PATH]; 39 39 40 // 開始時刻を記録 41 DWORD beforeTickCount = GetTickCount(); 42 40 43 //プログレスバーの設定 41 44 PostMessage(GetDlgItem(hMainDlg,IDC_PROGRESS),PBM_SETRANGE,0,MAKELPARAM(0,6)); … … 54 57 //プログラムをファイルから読み込む 55 58 extern char SourceFileName[MAX_PATH]; 56 if( ! Smoothie::Lexical::source.ReadFile( SourceFileName ) ){59 if( !compiler.GetObjectModule().source.ReadFile( SourceFileName ) ){ 57 60 SetError(201,SourceFileName,-1); 58 61 goto EndCompile; … … 61 64 //イメージベースの設定 62 65 extern DWORD ImageBase; 63 extern BOOL bDll; 64 if(bDll) ImageBase=0x10000000; 66 if(compiler.IsDll()) ImageBase=0x10000000; 65 67 else ImageBase=0x00400000; 66 68 … … 179 181 if(bError==0){ 180 182 //"コンパイルは正常に完了しました(エラー:%d、警告:%d)" 181 sprintf(temp2,STRING_COMPILE_SUCCESS,ErrorNum-CompileMsgNum-WarningNum,WarningNum); 183 sprintf(temp2, 184 STRING_COMPILE_SUCCESS, 185 ErrorNum-CompileMsgNum-WarningNum, 186 WarningNum, 187 ((double)(GetTickCount() - beforeTickCount))/1000 188 ); 182 189 } 183 190 else{
Note:
See TracChangeset
for help on using the changeset viewer.