When my application try to create a Socket Acceptor with the following code,
I have this error: Access violation at address 00007972. Read of address
00007972
std::string file = cfgfile;
FIX::SessionSettings settings(file);
KCApplication *application = new KCApplication;
application->appdata=appdata;
FIX::FileStoreFactory storeFactory( settings );
FIX::FileLogFactory logFactory( settings );
application->acceptor = new FIX::SocketAcceptor( *application,
storeFactory,settings,logFactory );
This is my configuration ini file
[DEFAULT]
ConnectionType=acceptor
SocketAcceptPort=5005
HeartBtInt=30
FileStorePath=c:\sphera\quickfix\S_FIX_MKT\store
FileLogPath=c:\sphera\quickfix\S_FIX_MKT\log
StartTime=00:00:00
EndTime=23:59:59
StartDay= Monday
EndDay= Sunday
TimeZone=Europe/Rome
DoNotPersistTypes=X:W
DoNotLogTypes=X:W
[SESSION]
BeginString=FIX.4.2
SenderCompID=SNSRVFIXMKT
TargetCompID=FINECOFIXMKT
DataDictionary=c:\sphera\lib\FIX42.xml
N.B.
If each time, before execute my application, I delete the log and store file
I don't have the error.
Someone can help me..?
--
View this message in context: http://www.nabble.com/Access-violation-t1479335.html#a4003797
Sent from the QuickFIX - Dev forum at Nabble.com.
|