Changeset 214 in dev for trunk/abdev/BasicCompiler64


Ignore:
Timestamp:
Jul 17, 2007, 3:23:14 AM (17 years ago)
Author:
dai_9181
Message:
 
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/abdev/BasicCompiler64/MakePeHdr.cpp

    r209 r214  
    191191
    192192
    193     /*
    194     if( !compiler.GetMeta().Write( Jenga::Common::Environment::GetAppDir() + "\\meta_test.xml" ) )
     193/*
     194    if( !compiler.GetMeta().WriteXml( Jenga::Common::Environment::GetAppDir() + "\\meta_test.xml" ) )
    195195    {
    196196        MessageBox(0,"XML書き込みに失敗","test",0);
    197197    }
    198198    MetaImpl *pTempMeta = new MetaImpl();
    199     if( !pTempMeta->Read( Jenga::Common::Environment::GetAppDir() + "\\meta_test.xml" ) )
     199    if( !pTempMeta->ReadXml( Jenga::Common::Environment::GetAppDir() + "\\meta_test.xml" ) )
    200200    {
    201201        MessageBox(0,"XML読み込みに失敗","test",0);
    202202    }
     203*/
     204    if( !compiler.GetMeta().WriteBinaly( Jenga::Common::Environment::GetAppDir() + "\\meta_test.dat" ) )
     205    {
     206        MessageBox(0,"バイナリ書き込みに失敗","test",0);
     207    }
     208    MetaImpl *pTempMeta = new MetaImpl();
     209    if( !pTempMeta->ReadBinaly( Jenga::Common::Environment::GetAppDir() + "\\meta_test.dat" ) )
     210    {
     211        MessageBox(0,"バイナリ読み込みに失敗","test",0);
     212    }
    203213    compiler.GetMeta() = (*pTempMeta);
    204     */
     214
    205215
    206216    //コードと行番号の関係
Note: See TracChangeset for help on using the changeset viewer.