EgtGeneral 1.4a4 : Aggiunte funzioni GetModule*. Si usano solo string.
This commit is contained in:
+4
-5
@@ -14,13 +14,12 @@
|
||||
|
||||
//--------------------------- Include ----------------------------------------
|
||||
#include "stdafx.h"
|
||||
#include "CmdScanner.h"
|
||||
#include "/EgtDev/Include/EgnStringUtils.h"
|
||||
#include "/EgtDev/Include/EgnStringConverter.h"
|
||||
#include "CmdScanner.h"
|
||||
|
||||
using namespace std ;
|
||||
|
||||
|
||||
//----------------------------------------------------------------------------
|
||||
CmdScanner::CmdScanner( void)
|
||||
{
|
||||
@@ -35,19 +34,19 @@ CmdScanner::~CmdScanner( void)
|
||||
|
||||
//----------------------------------------------------------------------------
|
||||
bool
|
||||
CmdScanner::Initialize( wstring sCmdFile)
|
||||
CmdScanner::Init( string sCmdFile)
|
||||
{
|
||||
// se già aperto, lo chiudo
|
||||
Terminate() ;
|
||||
|
||||
// apertura del file di ingresso
|
||||
m_CmdFile.open( sCmdFile, ios::in) ;
|
||||
m_CmdFile.open( stringtoW( sCmdFile), ios::in) ;
|
||||
|
||||
// reset numero linea corrente
|
||||
m_nLineNbr = 0 ;
|
||||
|
||||
// salvo path file
|
||||
m_sFName = wstringtoA( sCmdFile) ;
|
||||
m_sFName = sCmdFile ;
|
||||
|
||||
return ( ! m_CmdFile.fail()) ;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user