Changeset 169 in dev for trunk/abdev/BasicCompiler64/MakePeHdr.cpp
- Timestamp:
- Jun 18, 2007, 3:49:30 AM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/abdev/BasicCompiler64/MakePeHdr.cpp
r159 r169 1 #include <jenga/include/common/Environment.h> 2 1 3 #include "../BasicCompiler_Common/common.h" 2 4 #include "Opcode.h" … … 1156 1158 char *DosStubBuffer; 1157 1159 int DosStubSize; 1158 extern char BasicSystemDir[MAX_PATH];1159 sprintf(temporary,"%sSubOperation\\dosstub.pgm",BasicSystemDir);1160 hFile=CreateFile(temporary,GENERIC_READ,0,NULL,OPEN_EXISTING,FILE_ATTRIBUTE_NORMAL,NULL);1160 hFile=CreateFile( 1161 ( Jenga::Common::Environment::GetAppDir() + "\\SubOperation\\dosstub.pgm" ).c_str(), 1162 GENERIC_READ,0,NULL,OPEN_EXISTING,FILE_ATTRIBUTE_NORMAL,NULL); 1161 1163 if(hFile==INVALID_HANDLE_VALUE){ 1162 1164 MessageBox(hOwnerEditor,"dosstub.pgmの読み込みに失敗","error",MB_OK);
Note:
See TracChangeset
for help on using the changeset viewer.