[Quickfix-users] ordermatch example; incorrectly parsed DataDictionary causes crash
Brought to you by:
orenmnero
From: Brendan B. B. <br...@ka...> - 2003-06-27 21:27:54
|
Hello, From "quickfix-1.5.0\doc\html\examples.html": "The applications provided are ordermatch which is a c++ server that will match and execute limit orders." For some reason I introduced myself to QF using tradeclient running against ordermatch before trying tradeclient running against executor. I was quite perplexed as to why orders I was sending to ordermatch were being rejected until I realized that ordermatch didn't override FIX::MessageCracker::onMessage( const NewOrderSingle&, const FIX::SessionID& ) as does executor. So if Executor simply fills every limit order that it receives, what is ordermatch intended to do? Also, is it a known problem that if specifying a DataDictionary which contains something in the path which the parser considers a delimeter that there's a crash in DataDictionary::readFromURL()? Using something like DataDictionary=c:\Projects\c++\quickfix-1.5.0\spec\FIX41.xml will result in a path of "c:\Projects\c" which results in a reference to a NULL pFixNode in readFromURL(). Regards, Brendan |