Changeset 165 in dev for trunk/abdev/BasicCompiler32


Ignore:
Timestamp:
Jun 17, 2007, 1:45:13 PM (17 years ago)
Author:
dai_9181
Message:
 
Location:
trunk/abdev/BasicCompiler32
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/abdev/BasicCompiler32/BasicCompiler.vcproj

    r163 r165  
    4848                Name="VCCLCompilerTool"
    4949                Optimization="0"
    50                 AdditionalIncludeDirectories="..\..\jenga\include\common;..\..\cpplibs\boost;..\BasicCompiler_Common\include"
     50                AdditionalIncludeDirectories="..\..\;..\..\cpplibs\boost;..\BasicCompiler_Common\include"
    5151                PreprocessorDefinitions="WIN32;_DEBUG;_WINDOWS;JPN"
    5252                MinimalRebuild="true"
     
    149149                InlineFunctionExpansion="2"
    150150                FavorSizeOrSpeed="1"
    151                 AdditionalIncludeDirectories="..\..\jenga\include\common;..\..\cpplibs\boost;..\BasicCompiler_Common\include"
     151                AdditionalIncludeDirectories="..\..\;..\..\cpplibs\boost;..\BasicCompiler_Common\include"
    152152                PreprocessorDefinitions="WIN32;NDEBUG;_WINDOWS;JPN"
    153153                StringPooling="true"
     
    14531453                >
    14541454                <File
     1455                    RelativePath="..\BasicCompiler_Common\include\option.h"
     1456                    >
     1457                </File>
     1458                <File
    14551459                    RelativePath="..\BasicCompiler_Common\include\Smoothie.h"
    14561460                    >
  • trunk/abdev/BasicCompiler32/MakePeHdr.cpp

    r159 r165  
     1#include <jenga/include/common/Environment.h>
     2
    13#include "../BasicCompiler_Common/common.h"
    24#include "Opcode.h"
     
    342344#ifdef _DEBUG
    343345    {
    344         ofstream ofs( ( (string)BasicSystemDir + "middle_code.txt" ).c_str() );
     346        ofstream ofs( ( Jenga::Common::Environment::GetAppDir() + "\\middle_code.txt" ).c_str() );
    345347        ofs << basbuf << endl;
    346348        ofs.close();
     
    11551157    char *DosStubBuffer;
    11561158    int DosStubSize;
    1157     extern char BasicSystemDir[MAX_PATH];
    1158     sprintf(temporary,"%sSubOperation\\dosstub.pgm",BasicSystemDir);
    1159     hFile=CreateFile(temporary,GENERIC_READ,0,NULL,OPEN_EXISTING,FILE_ATTRIBUTE_NORMAL,NULL);
     1159    hFile=CreateFile(
     1160        ( Jenga::Common::Environment::GetAppDir() + "\\SubOperation\\dosstub.pgm" ).c_str(),
     1161        GENERIC_READ,0,NULL,OPEN_EXISTING,FILE_ATTRIBUTE_NORMAL,NULL);
    11601162    if(hFile==INVALID_HANDLE_VALUE){
    11611163        MessageBox(hOwnerEditor,"dosstub.pgmの読み込みに失敗","error",MB_OK);
Note: See TracChangeset for help on using the changeset viewer.