Changeset 808 in dev for branches/egtra/ab5.0/abdev/BasicCompiler_Common/BasicCompiler.cpp
- Timestamp:
- Feb 12, 2011, 3:52:13 AM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/egtra/ab5.0/abdev/BasicCompiler_Common/BasicCompiler.cpp
r806 r808 253 253 } 254 254 255 BOOL GetFilePathDialog(HWND hwnd,char *filename,LP STR Filter,LPSTR Title,BOOL bOpen){255 BOOL GetFilePathDialog(HWND hwnd,char *filename,LPCSTR Filter,LPCSTR Title,BOOL bOpen){ 256 256 OPENFILENAME ofstr; 257 257 filename[0]=0; … … 375 375 SetWindowPos(hwnd,0,x,y,0,0,SWP_NOSIZE); 376 376 } 377 BOOLCALLBACK DlgCompile(HWND hwnd,UINT message,WPARAM wParam,LPARAM lParam){377 INT_PTR CALLBACK DlgCompile(HWND hwnd,UINT message,WPARAM wParam,LPARAM lParam){ 378 378 extern HANDLE hDebugProcess; 379 379 extern DWORD processIdDebug; … … 645 645 if( program.IsDebugRun() || compiler.IsDebug() ) 646 646 { 647 lstrcat(tempOutputFileName,"_debug.abobj");647 strcat(tempOutputFileName,"_debug.abobj"); 648 648 } 649 649 else 650 650 { 651 lstrcat(tempOutputFileName,".abobj");651 strcat(tempOutputFileName,".abobj"); 652 652 } 653 653 } … … 656 656 if( program.IsDebugRun() || compiler.IsDebug() ) 657 657 { 658 lstrcat(tempOutputFileName,"_debug.exe");658 strcat(tempOutputFileName,"_debug.exe"); 659 659 } 660 660 else 661 661 { 662 lstrcat(tempOutputFileName,".exe");662 strcat(tempOutputFileName,".exe"); 663 663 } 664 664 } … … 722 722 } 723 723 if(temporary[i]){ 724 lstrcpy(szDebugCmdLine,temporary+i+2);724 strcpy(szDebugCmdLine,temporary+i+2); 725 725 } 726 726 } 727 727 728 728 _splitpath( program.GetSourceFilePath().c_str(), BasicCurDir,temporary,NULL,NULL); 729 lstrcat(BasicCurDir,temporary);729 strcat(BasicCurDir,temporary); 730 730 731 731 if( program.IsClipCompileView() ){ … … 762 762 trace("Complete ActiveBasic Compiler!"); 763 763 764 ExitProcess( program.GetExitCode() ); 765 return 0; 764 return program.GetExitCode(); 766 765 } 767 766 else … … 805 804 trace("Complete ActiveBasic Compiler!"); 806 805 807 ExitProcess( program.GetExitCode() ); 808 809 return 0; 810 } 806 return program.GetExitCode(); 807 }
Note:
See TracChangeset
for help on using the changeset viewer.