Changeset 480 in dev for trunk/ab5.0/abdev/BasicCompiler_Common
- Timestamp:
- Apr 6, 2008, 10:03:28 PM (17 years ago)
- Location:
- trunk/ab5.0
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/ab5.0
- Property svn:externals
-
old new 4 4 abdev/build/debug/system http://dev.activebasic.com/svnroot/ablib/trunk/ab5.0/system 5 5 abdev/build/debug/theme http://dev.activebasic.com/svnroot/ablib/trunk/ab5.0/theme 6 abdev/build/release/ablib http://dev.activebasic.com/svnroot/ablib/trunk/ab5.0/ablib 7 abdev/build/release/runtime http://dev.activebasic.com/svnroot/ablib/trunk/ab5.0/runtime 8 abdev/build/release/system http://dev.activebasic.com/svnroot/ablib/trunk/ab5.0/system 9 abdev/build/release/theme http://dev.activebasic.com/svnroot/ablib/trunk/ab5.0/theme 6 abdev/build/release http://dev.activebasic.com/svnroot/ablib/trunk/ab5.0
-
- Property svn:externals
-
trunk/ab5.0/abdev/BasicCompiler_Common/BasicCompiler.cpp
r477 r480 251 251 252 252 hFile=CreateFile( 253 ( Jenga::Common::Environment::GetAppDir() + "\\pgm.tmp" ).c_str(),253 ( ActiveBasic::Common::Environment::GetAbdevRootPath() + "\\pgm.tmp" ).c_str(), 254 254 GENERIC_WRITE,0,NULL,CREATE_ALWAYS,FILE_ATTRIBUTE_ARCHIVE|FILE_ATTRIBUTE_HIDDEN|FILE_ATTRIBUTE_TEMPORARY,NULL); 255 255 WriteFile(hFile,FileName,lstrlen(FileName),&dw,NULL); … … 681 681 { 682 682 // インクルードディレクトリを絶対パスに変更 683 program.SetIncludeDir( Jenga::Common::Path::MakeFullPath ( program.GetIncludeDir(), ActiveBasic::Common::Environment::GetAbdevRootPath() ) );683 program.SetIncludeDir( Jenga::Common::Path::MakeFullPathByCurrentDirectory( program.GetIncludeDir() ) ); 684 684 } 685 685 686 686 // ソースファイル名を絶対パスに変換 687 program.SetSourceFilePath( Jenga::Common::Path::MakeFullPath ( program.GetSourceFilePath(), baseDirPath) );687 program.SetSourceFilePath( Jenga::Common::Path::MakeFullPathByCurrentDirectory( program.GetSourceFilePath() ) ); 688 688 689 689 // 出力ファイル名を絶対パスに変換 690 program.SetOutputFilePath( Jenga::Common::Path::MakeFullPath ( program.GetOutputFilePath(), baseDirPath) );690 program.SetOutputFilePath( Jenga::Common::Path::MakeFullPathByCurrentDirectory( program.GetOutputFilePath() ) ); 691 691 692 692 // モジュール名をセット … … 707 707 DWORD dwAccessBytes; 708 708 hFile=CreateFile( 709 ( Jenga::Common::Environment::GetAppDir() + "\\pgm.tmp" ).c_str(),709 ( ActiveBasic::Common::Environment::GetAbdevRootPath() + "\\pgm.tmp" ).c_str(), 710 710 GENERIC_READ,FILE_SHARE_READ|FILE_SHARE_WRITE,NULL,OPEN_EXISTING,FILE_ATTRIBUTE_NORMAL,NULL); 711 711 if(hFile!=INVALID_HANDLE_VALUE){ -
trunk/ab5.0/abdev/BasicCompiler_Common/src/Messenger.cpp
r472 r480 471 471 472 472 hFile=CreateFile( 473 ( Jenga::Common::Environment::GetAppDir() + "\\pgm.tmp" ).c_str(),473 ( ActiveBasic::Common::Environment::GetAbdevRootPath() + "\\pgm.tmp" ).c_str(), 474 474 GENERIC_WRITE,0,NULL,CREATE_ALWAYS,FILE_ATTRIBUTE_ARCHIVE|FILE_ATTRIBUTE_HIDDEN|FILE_ATTRIBUTE_TEMPORARY,NULL); 475 475 WriteFile(hFile,FileName,lstrlen(FileName),&dw,NULL);
Note:
See TracChangeset
for help on using the changeset viewer.