quickfix-developers Mailing List for QuickFIX (Page 267)
Brought to you by:
orenmnero
You can subscribe to this list here.
2001 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
(1) |
---|---|---|---|---|---|---|---|---|---|---|---|---|
2002 |
Jan
|
Feb
(5) |
Mar
(16) |
Apr
(15) |
May
(17) |
Jun
(33) |
Jul
(35) |
Aug
(34) |
Sep
(19) |
Oct
(40) |
Nov
(51) |
Dec
(43) |
2003 |
Jan
(45) |
Feb
(79) |
Mar
(124) |
Apr
(121) |
May
(132) |
Jun
(77) |
Jul
(110) |
Aug
(57) |
Sep
(48) |
Oct
(83) |
Nov
(60) |
Dec
(40) |
2004 |
Jan
(67) |
Feb
(72) |
Mar
(74) |
Apr
(87) |
May
(70) |
Jun
(96) |
Jul
(75) |
Aug
(147) |
Sep
(128) |
Oct
(83) |
Nov
(67) |
Dec
(42) |
2005 |
Jan
(110) |
Feb
(84) |
Mar
(68) |
Apr
(55) |
May
(51) |
Jun
(192) |
Jul
(111) |
Aug
(100) |
Sep
(79) |
Oct
(127) |
Nov
(73) |
Dec
(112) |
2006 |
Jan
(95) |
Feb
(120) |
Mar
(138) |
Apr
(127) |
May
(124) |
Jun
(97) |
Jul
(103) |
Aug
(88) |
Sep
(138) |
Oct
(91) |
Nov
(112) |
Dec
(57) |
2007 |
Jan
(55) |
Feb
(35) |
Mar
(56) |
Apr
(16) |
May
(20) |
Jun
(77) |
Jul
(43) |
Aug
(47) |
Sep
(29) |
Oct
(54) |
Nov
(39) |
Dec
(40) |
2008 |
Jan
(69) |
Feb
(79) |
Mar
(122) |
Apr
(106) |
May
(114) |
Jun
(76) |
Jul
(83) |
Aug
(71) |
Sep
(53) |
Oct
(75) |
Nov
(54) |
Dec
(43) |
2009 |
Jan
(32) |
Feb
(31) |
Mar
(64) |
Apr
(48) |
May
(38) |
Jun
(43) |
Jul
(35) |
Aug
(15) |
Sep
(52) |
Oct
(62) |
Nov
(62) |
Dec
(21) |
2010 |
Jan
(44) |
Feb
(10) |
Mar
(47) |
Apr
(22) |
May
(5) |
Jun
(54) |
Jul
(19) |
Aug
(54) |
Sep
(16) |
Oct
(15) |
Nov
(7) |
Dec
(8) |
2011 |
Jan
(18) |
Feb
(9) |
Mar
(5) |
Apr
(5) |
May
(41) |
Jun
(40) |
Jul
(29) |
Aug
(17) |
Sep
(12) |
Oct
(23) |
Nov
(22) |
Dec
(11) |
2012 |
Jan
(8) |
Feb
(24) |
Mar
(5) |
Apr
(5) |
May
(6) |
Jun
(5) |
Jul
(5) |
Aug
(5) |
Sep
(2) |
Oct
(9) |
Nov
(2) |
Dec
(18) |
2013 |
Jan
(25) |
Feb
(16) |
Mar
(8) |
Apr
(2) |
May
(16) |
Jun
(17) |
Jul
(2) |
Aug
(13) |
Sep
(3) |
Oct
(4) |
Nov
(1) |
Dec
|
2014 |
Jan
(2) |
Feb
|
Mar
(22) |
Apr
(9) |
May
(3) |
Jun
(1) |
Jul
(5) |
Aug
(11) |
Sep
(18) |
Oct
(4) |
Nov
(4) |
Dec
(3) |
2015 |
Jan
(2) |
Feb
|
Mar
|
Apr
(3) |
May
(4) |
Jun
(37) |
Jul
|
Aug
(4) |
Sep
(6) |
Oct
(1) |
Nov
(4) |
Dec
(2) |
2016 |
Jan
(9) |
Feb
(3) |
Mar
(7) |
Apr
(1) |
May
(8) |
Jun
|
Jul
|
Aug
|
Sep
(7) |
Oct
(3) |
Nov
(16) |
Dec
|
2017 |
Jan
(1) |
Feb
(15) |
Mar
(2) |
Apr
(12) |
May
(4) |
Jun
(7) |
Jul
(5) |
Aug
|
Sep
|
Oct
|
Nov
(23) |
Dec
(8) |
2018 |
Jan
(2) |
Feb
(4) |
Mar
(2) |
Apr
(8) |
May
(3) |
Jun
|
Jul
|
Aug
(1) |
Sep
|
Oct
|
Nov
|
Dec
|
2019 |
Jan
|
Feb
(1) |
Mar
|
Apr
|
May
|
Jun
|
Jul
(1) |
Aug
(1) |
Sep
|
Oct
(5) |
Nov
(3) |
Dec
|
2020 |
Jan
|
Feb
(4) |
Mar
(3) |
Apr
|
May
|
Jun
|
Jul
(12) |
Aug
(5) |
Sep
(3) |
Oct
(1) |
Nov
|
Dec
(1) |
2021 |
Jan
|
Feb
|
Mar
|
Apr
|
May
(1) |
Jun
|
Jul
|
Aug
(2) |
Sep
|
Oct
|
Nov
|
Dec
|
2022 |
Jan
|
Feb
(1) |
Mar
|
Apr
|
May
|
Jun
(1) |
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
2025 |
Jan
|
Feb
|
Mar
|
Apr
(1) |
May
(1) |
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
From: Miller, O. <OM...@ri...> - 2003-08-22 23:57:35
|
It as come up before, and at one point one of the exhanges nearly = commisioned the work. The significant work involved would be in replicating the session logic = and the message class. Since we have a pretty comprehensive functional = test suite, a java port can be validated quite easily. The downside would be the overhead of two implementations. Keeping them = synchronized would be a challenge. I do, however, believe more people = would contribute to a pure java project. Short term it may be easier to work on a single threaded quickfix. -------------------------- Sent from my BlackBerry Wireless Handheld -----Original Message----- From: Alex Hornby <al...@an...> To: quickfix-developers <qui...@li...> Sent: Fri Aug 22 05:41:53 2003 Subject: [Quickfix-developers] Java version of quickfix? Hi, Has anyone looked at creating a pure java version of quickfix? As a lot of code is auto generated from the XML descriptions perhaps this isn't such a big task? I've been getting some JVM crashes when using the JNI wrappers which I think are due to synchronisation problems accessing C++ pointers - a pure java version would get rid of those for good. Cheers, Alex. ------------------------------------------------------- This SF.net email is sponsored by: VM Ware With VMware you can run multiple operating systems on a single machine. WITHOUT REBOOTING! Mix Linux / Windows / Novell virtual machines at the same time. Free trial click = here:http://www.vmware.com/wl/offer/358/0 _______________________________________________ Quickfix-developers mailing list Qui...@li... https://lists.sourceforge.net/lists/listinfo/quickfix-developers |
From: Miller, O. <OM...@ri...> - 2003-08-22 23:30:36
|
Actually it should be an unsigned short. Even now you can use port = 60000. It will print out as a negative number, but should work ok. In any case, unsigned short is what we want as that is what the socket = api expects. -------------------------- Sent from my BlackBerry Wireless Handheld -----Original Message----- From: Catherine Chiu <cat...@ki...> To: qui...@li... = <qui...@li...> Sent: Thu Aug 21 01:15:19 2003 Subject: [Quickfix-developers] Why port is of type short in = initiator/acceptor classes Hi, =20 I'm new to quickfix and I'm using v1.5 in VC++7, Windows2K. =20 Why port is of type short in initiator/acceptor classes? I have = upcoming testing which will require ports around 60000. Is changing the = source code from short to int the best way? Suggestions are most = welcome. =20 Thanks, Catherine Kim Eng Securities =20 |
From: Catherine C. <cat...@ki...> - 2003-08-22 21:36:50
|
Hi, I'm new to quickfix and I'm using v1.5 in VC++7, Windows2K. Why port is of type short in initiator/acceptor classes? I have upcoming testing which will require ports around 60000. Is changing the source code from short to int the best way? Suggestions are most welcome. Thanks, Catherine Kim Eng Securities |
From: Alex H. <al...@an...> - 2003-08-22 19:59:27
|
Hi, Has anyone looked at creating a pure java version of quickfix? As a lot of code is auto generated from the XML descriptions perhaps this isn't such a big task? I've been getting some JVM crashes when using the JNI wrappers which I think are due to synchronisation problems accessing C++ pointers - a pure java version would get rid of those for good. Cheers, Alex. |
From: Jon D. <jd...@Li...> - 2003-08-22 03:00:00
|
I've downloaded the current quick fix tree from CVS and done a transer = from my Linux box to my Windows Machine through WinSCP. Upon clicking on the quickfix.dsw file, nothing comes up in the IDE for = VC++ 6. Anyone have this problem? Anyone know of a fix? Thanks, JD |
From: Oren M. <ore...@ya...> - 2003-08-22 02:45:16
|
You not following directions :) Go to the test directory and type 'runut debug 5001' Jon Dahl <jd...@Li...> wrote: Enviroment: Windows 2000 VC++ 6 Sp 5 QuickFix 1.5 (latest from CVS) Upon running the ut_debug test I get the following errors: G:\quickfix\bin>ut -p 5001 ........................F...........................F.F...............F...................................................F...... node found at root)]]> node found at root)]]> *]]> *]]> Anyone know what the problem is here? Thanks, JD ------------------------------------------------------- This SF.net email is sponsored by: VM Ware With VMware you can run multiple operating systems on a single machine. WITHOUT REBOOTING! Mix Linux / Windows / Novell virtual machines at the same time. Free trial click here:http://www.vmware.com/wl/offer/358/0 _______________________________________________ Quickfix-developers mailing list Qui...@li... https://lists.sourceforge.net/lists/listinfo/quickfix-developers --------------------------------- Do you Yahoo!? Yahoo! SiteBuilder - Free, easy-to-use web site design software |
From: Jon D. <jd...@Li...> - 2003-08-22 02:37:52
|
Enviroment: Windows 2000 VC++ 6 Sp 5 QuickFix 1.5 (latest from CVS) Upon running the ut_debug test I get the following errors: G:\quickfix\bin>ut -p 5001 <ut> <output> ........................F...........................F.F...............F..= .................................................F...... </output> <results total=3D"129" failures=3D"5"> <failure line=3D "271" file=3D = "G:\quickfix\src\C++\Test\MessagesTestCase.cpp"> <test> <![CDATA[ class FIX::MessageTestCase::getXML]]> </test> <text> <![CDATA[ assert(message.toXML() =3D=3D stream.str())]]> </text> </failure> <failure line=3D "0" file=3D "unknown"> <test> <![CDATA[ unknown]]> </test> <text> <![CDATA[ assert(spec/FIX42.xml: Could not parse data dictionary = file, or no <fix> node found at root)]]> </text> </failure> <failure line=3D "0" file=3D "unknown"> <test> <![CDATA[ unknown]]> </test> <text> <![CDATA[ assert(spec/FIX42.xml: Could not parse data dictionary = file, or no <fix> node found at root)]]> </text> </failure> <failure line=3D "0" file=3D "unknown"> <test> <![CDATA[ class CPPTest::Test<class FIX::Session> *]]> </test> <text> <![CDATA[ assert(no futher information available)]]> </text> </failure> <failure line=3D "0" file=3D "unknown"> <test> <![CDATA[ class CPPTest::Test<class FIX::DataDictionary> *]]> </test> <text> <![CDATA[ assert(no futher information available)]]> </text> </failure> </results> </ut> Anyone know what the problem is here? Thanks, JD |
From: Matt P. <mat...@ca...> - 2003-08-20 15:01:05
|
Nikhil, Not sure if this is your problem, but these errors look similar to ones that I recieved when building my app. Check the run-time library that you are using (Project Settings -> C/C++ -> Code Generation -> Use run-time Library). I believe the run-time library that you chose has to match with any other DLLs/Libraries that you are linking with. Matt P. -----Original Message----- From: qui...@li... [mailto:qui...@li...]On Behalf Of Nikhil Bose Sent: Wednesday, August 20, 2003 9:01 AM To: qui...@li... Subject: [Quickfix-developers] Linking quickfix_jni Hello, When I try to build quickfix_jni, the Debug version builds fine, but the Release version gives the following link errors. I am using VC++ 6.0. Please help. Thanks, Nikhil Linking... msvcprt.lib(MSVCP60.dll) : error LNK2005: "public: __thiscall std::logic_error::logic_error(class logic_error::basic_string<char,struct std::char_traits<char>,class std::allocator<char> > const &)" (??0logic_error@std@@QAE@ABV?$basic_string@DU?$char _traits@D@std@@V?$allocator@D@2@@1@@Z) already defined in quickfix.lib(MessageStore.obj) msvcprt.lib(MSVCP60.dll) : error LNK2005: "public: virtual __thiscall std::runtime_error::~runtime_error(void)" (??1runtime_error@std@@UAE@XZ) already defined in quickfix.lib(FileStore.obj) msvcprt.lib(MSVCP60.dll) : error LNK2005: "public: __thiscall std::runtime_error::runtime_error(class runtime_error::basic_string<char,struct std::char_traits<char>,class std::allocator<char> > const &)" (??0runtime_error@std@@QAE@ABV?$basic_string@ DU?$char_traits@D@std@@V?$allocator@D@2@@1@@Z) already defined in quickfix.lib(FileStore.obj) msvcprt.lib(MSVCP60.dll) : error LNK2005: "public: virtual __thiscall std::logic_error::~logic_error(void)" (??1logic_error@std@@UAE@XZ) already defined in quickfix.lib(MessageStore.obj) LINK : fatal error LNK1104: cannot open file "atls.lib" Error executing link.exe. ---------------------------------------------------------------------------- -- Do you Yahoo!? Yahoo! SiteBuilder - Free, easy-to-use web site design software |
From: Nikhil B. <ass...@ya...> - 2003-08-20 14:18:57
|
Hello, When I try to build quickfix_jni, the Debug version builds fine, but the Release version gives the following link errors. I am using VC++ 6.0. Please help. Thanks, Nikhil Linking... msvcprt.lib(MSVCP60.dll) : error LNK2005: "public: __thiscall std::logic_error::logic_error(class logic_error::basic_string<char,struct std::char_traits<char>,class std::allocator<char> > const &)" (??0logic_error@std@@QAE@ABV?$basic_string@DU?$char _traits@D@std@@V?$allocator@D@2@@1@@Z) already defined in quickfix.lib(MessageStore.obj) msvcprt.lib(MSVCP60.dll) : error LNK2005: "public: virtual __thiscall std::runtime_error::~runtime_error(void)" (??1runtime_error@std@@UAE@XZ) already defined in quickfix.lib(FileStore.obj) msvcprt.lib(MSVCP60.dll) : error LNK2005: "public: __thiscall std::runtime_error::runtime_error(class runtime_error::basic_string<char,struct std::char_traits<char>,class std::allocator<char> > const &)" (??0runtime_error@std@@QAE@ABV?$basic_string@ DU?$char_traits@D@std@@V?$allocator@D@2@@1@@Z) already defined in quickfix.lib(FileStore.obj) msvcprt.lib(MSVCP60.dll) : error LNK2005: "public: virtual __thiscall std::logic_error::~logic_error(void)" (??1logic_error@std@@UAE@XZ) already defined in quickfix.lib(MessageStore.obj) LINK : fatal error LNK1104: cannot open file "atls.lib" Error executing link.exe. --------------------------------- Do you Yahoo!? Yahoo! SiteBuilder - Free, easy-to-use web site design software |
From: Oren M. <ore...@ya...> - 2003-08-18 14:31:55
|
What do you see if you put this code in? MsgType msgType = new MsgType(); message.getHeader().getField( msgType ); System.out.println( "MsgType=" + msgType.getValue() ); And do you also get the same results if you use a MessageCracker? dwi...@jp... wrote: I have the following output: <20030818-13:38:06, FIX.4.0:SERPT->PTNYSESS, incoming> (8=FIX.4.09=5335=034=2549=PTNYSESS56=SERPT52=20030818-13:38:11 10=086) This message is-> 8=FIX.4.09=5335=034=2549=PTNYSESS 52=20030818-13:38:1156=SERPT10=086 org.quickfix.FieldNotFound: 369 This is the corresponding code segment: public void fromAdmin(org.quickfix.Message message, SessionID sessionID) throws FieldNotFound, IncorrectDataFormat, IncorrectTagValue, RejectLogon { try{ SwingUtilities.invokeLater(new doFromAdmin(message, sessionID)); }catch (Exception swingException){ System.out.println(swingException); } } public class doFromAdmin implements Runnable { private org.quickfix.Message message; private SessionID sessionID; public doFromAdmin(org.quickfix.Message message, SessionID sessionID) { this.message = message; System.out.println("This message is-> " + this.message); this.sessionID = sessionID; } public void run() { try { MsgType msgType = new MsgType(); if (message.getHeader().getField(msgType).valueEquals("0")) heartBeat(message, sessionID); if (message.getHeader().getField(msgType).valueEquals("1")) testRequest(message, sessionID); if (message.getHeader().getField(msgType).valueEquals("2")) System.out.println("Resend Request"); if (message.getHeader().getField(msgType).valueEquals("3")) rejectMessage(message, sessionID); if (message.getHeader().getField(msgType).valueEquals("4")) System.out.println("Gap Fill"); if (message.getHeader().getField(msgType).valueEquals("5")) System.out.println("Logout"); if (message.getHeader().getField(msgType).valueEquals("A")) logOn(message, sessionID); }catch (FieldNotFound fnf){ System.out.println( fnf); } } } The heartBeat method never gets invoked even though a valid heartbeat was presented. Any ideas? Thanks Dwight Browne This communication is for informational purposes only. It is not intended as an offer or solicitation for the purchase or sale of any financial instrument or as an official confirmation of any transaction. All market prices, data and other information are not warranted as to completeness or accuracy and are subject to change without notice. Any comments or statements made herein do not necessarily reflect those of J.P. Morgan Chase & Co., its subsidiaries and affiliates. ------------------------------------------------------- This SF.Net email sponsored by: Free pre-built ASP.NET sites including Data Reports, E-commerce, Portals, and Forums are available now. Download today and enter to win an XBOX or Visual Studio .NET. http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet_072303_01/01 _______________________________________________ Quickfix-developers mailing list Qui...@li... https://lists.sourceforge.net/lists/listinfo/quickfix-developers --------------------------------- Do you Yahoo!? Yahoo! SiteBuilder - Free, easy-to-use web site design software |
From: <dwi...@jp...> - 2003-08-18 14:24:51
|
I have the following output: <20030818-13:38:06, FIX.4.0:SERPT->PTNYSESS, incoming> (8=3DFIX.4.0=019=3D53=0135=3D0=0134=3D25=0149=3DPTNYSESS=0156=3DSERPT= =0152=3D20030818-13:38:11=01 10=3D086=01) This message is-> 8=3DFIX.4.0=019=3D53=0135=3D0=0134=3D25=0149=3DPTNYSE= SS=01 52=3D20030818-13:38:11=0156=3DSERPT=0110=3D086=01 org.quickfix.FieldNotFound: 369 This is the corresponding code segment: public void fromAdmin(org.quickfix.Message message, SessionID sessio= nID) throws FieldNotFound, IncorrectDataFormat, IncorrectTagValue, RejectLog= on { try{ SwingUtilities.invokeLater(new doFromAdmin(message, sessionID)); }catch (Exception swingException){ System.out.println(swingException); } } public class doFromAdmin implements Runnable { private org.quickfix.Message message; private SessionID sessionID; public doFromAdmin(org.quickfix.Message message, SessionID sessionID) { this.message =3D message; System.out.println("This message is-> " + this.message); this.sessionID =3D sessionID; } public void run() { try { MsgType msgType =3D new MsgType(); if (message.getHeader().getField(msgType).valueEquals("= 0")) heartBeat(message, sessionID); if (message.getHeader().getField(msgType).valueEquals("= 1")) testRequest(message, sessionID); if (message.getHeader().getField(msgType).valueEquals("= 2")) System.out.println("Resend Request"); if (message.getHeader().getField(msgType).valueEquals("= 3")) rejectMessage(message, sessionID); if (message.getHeader().getField(msgType).valueEquals("= 4")) System.out.println("Gap Fill"); if (message.getHeader().getField(msgType).valueEquals("= 5")) System.out.println("Logout"); if (message.getHeader().getField(msgType).valueEquals("= A")) logOn(message, sessionID); }catch (FieldNotFound fnf){ System.out.println( fnf); } } } The heartBeat method never gets invoked even though a valid heartbeat w= as presented. Any ideas? Thanks Dwight Browne = This communication is for informational purposes only. It is not intended as an offer or solicitation for the purchase or sale of any financial instrument or as an official confirmation of any transaction. All market prices, data and other information are not warranted as to completeness or accuracy and are subject to change without notice. Any comments or statements made herein do not necessarily reflect those of J.P. Morgan Chase & Co., its subsidiaries and affiliates. |
From: Daniel M. <Dan...@ma...> - 2003-08-15 16:55:27
|
What I did was add the following to Session.h: =20 DataDictionary* getDataDictionary() {return &m_dataDictionary; } =20 This way I can get the DataDictionary loaded for each session, then if I want to do something similar to Message::toXML() in my custom Log class, I can do the following: =20 =20 Session *session =3D Session::lookupSession(m_sessionID); DataDictionary* dataDictionary =3D session->getDataDictionary(); Message msg(value); std::cout << debugMessageWithNames(msg,dataDictionary); =20 =20 I did find one bug in DataDictionary.cpp. The copy does not properly copy all the data from the original DataDictionary, in particular it leaves out the field names that I was looking to use. I added the following code: =20 =20 m_fieldNames =3D rhs.m_fieldNames; m_names =3D rhs.m_names; m_valuesNames =3D rhs.m_valuesNames; Daniel -----Original Message----- From: Oren Miller [mailto:ore...@ya...]=20 Sent: Thursday, August 14, 2003 11:22 PM To: Daniel May; qui...@li... Subject: Re: [Quickfix-developers] Re: Message data dictionary initialisation =09 =09 Yeah. The static data dictionary for the message was definately a bit of hackery. I actually needed this for something last year and this was the simplest way to get it to work in C++, java and C# without having to write JNI and .NET wrappers for the DataDictionary. =09 Generally, however, resetting the messages data dictionary isn't totally necessary if you just set it to the latest version you are supporting. If you are supporting versions 4.0-4.2 for instance, passing the message the 4.2 dictionary should work quite well for all of them, since later versions tend to more or less be supersets of the previous versions. This is less true since the 4.4 release since a significant number of field names have changed, however not so much that they are unrecognizable from their former incarnations. =20 I would agree that passing a data dictionary to the message makes a good deal of sense. Actually I picture two signatures, one with and without a data dictionary. If no DD is provided, the message can pull the sessionid out of itself and pull out the appropriate DataDictionary with the lookupSession call. This second signature would also be very easy to expose to all the supported APIs. Daniel May <Dan...@ma...> wrote: I agree that as a starting point there should at least be an access method to get a pointer to the DataDictionary in the Session class. The static method FIX::Message::InitializeXML() is really=20 only useful if your are managing sessions that all use the same (i.e. FIX4.1) FIX protocol version. Otherwise, you need to set it every time a message comes through with a different protocol version. =20 Does FIX::Message really need to keep a pointer to a DataDictionary ? I would think the caller could be responsible for passing in that pointer, which they could pull from the appropriate Session ? =20 Daniel =20 =20 =20 From: Gene Gorokhovsky <musor102@ya...>=20 <http://images.sourceforge.net/images/msg.gif> Re: Message data dictionary initialisation =20 2003-04-30 09:31 =09 Oren is aware that DataDict <-> Session <-> Message relationship needs improvement. Unfortunately getting it "right" requires significant code changes. Perhaps as the first step DataDictionary pointer could be publicly exposed in Session class. =20 Gene --- Mark Lees <Mark.Lees@bt...> wrote: > All, >=20 > I'm trying to get Message::toXML() to ouput the > names of the fields aswell > as the field numbers and looking at the code in > toXMLFields() it references > the static data dictionary > Message::s_dataDictionary. >=20 > When I receive a message I have the message itself > and a sessionID. I can > get a pointer to my session using > Session::lookupSession() but the discreet > session data dictionary Session::m_dataDictionary > does not have an accessor > and it is declared private. >=20 > It also appears strange to me that each session has > it's own data dictionary > but the Message class has a statically declared one. > It appears possible to > have a different data dictionary per session but a > Message must only have > one. >=20 > Also, the only method that sets the Message data > dictionary is handed a URL > and not a pre-constructed data dictionary. >=20 > Am I pushing the library too far ? Is this just not > quite complete yet?=20 >=20 > I'm basically after outputting the complete message > I received into a log > file in XML format with the names, numbers, > enumerations/values... >=20 > Thanks > Mark. > =20 ************************************************************************ **** > This message is confidential to the sender and > addressee, and may contain > proprietary or legally privileged information. If > you are not the intended > recipient, please delete it from your system, > destroy any copies, and notify > the sender immediately. Opinions stated herein are > not necessarily those of > BrokerTec. BrokerTec reserves the right to monitor > messages that pass > through it's networks. BrokerTec Europe Ltd is > regulated by FSA. >=20 >=20 > ------------------------------------------------------- > This sf.net email is sponsored by:ThinkGeek > Welcome to geek heaven. > http://thinkgeek.com/sf > _______________________________________________ > Quickfix-developers mailing list > Quickfix-developers@li... > https://lists.sourceforge.net/lists/listinfo/quickfix-developers =20 =20 __________________________________ Do you Yahoo!? The New Yahoo! Search - Faster. Easier. Bingo. http://search.yahoo.com <http://search.yahoo.com/>=20 =20 =20 =20 =20 Daniel May=20 da...@ma...=20 da...@co...=20 =20 > ATTACHMENT part 2 image/gif name=3Dmsg.gif =09 =09 _____ =20 Do you Yahoo!? Yahoo! SiteBuilder <http://us.rd.yahoo.com/evt=3D10469/*http://sitebuilder.yahoo.com> - Free, easy-to-use web site design software |
From: <sri...@rh...> - 2003-08-15 14:44:59
|
Hi Oren, =20 When I create a Session by calling start() method described as follows =20 =20 The onLogon sets the loggedon =3D true correctly. When the session gets closed because of time outs or other problems, do I need to call the start() again to create a new session or does the QuickFix create a new session automatically when it detects a session disconnect. =20 Does the session disconnect call the onLogout and set the loggedOn =3D false =20 Please Help. =20 Thanks Srinivas =20 public void onLogon( SessionID sessionID )=20 { MessageBox.Show("Log On to FIX"); loggedOn =3D true; } =20 public void onLogout( SessionID sessionID )=20 { loggedOn =3D false; } public static void start() { try { String fileName =3D "I:\\REDIStrategy\\GUIVersion\\config\\fix1.ini"; SessionSettings settings =3D new SessionSettings(fileName); FixReceiveEngine application =3D new FixReceiveEngine(); // ScreenLogFactory logFactory =3D new ScreenLogFactory( true, true, true ); FileStoreFactory storeFactory =3D new FileStoreFactory(settings); FileLogFactory logFactory =3D new FileLogFactory("logs"); MessageFactory messageFactory =3D new DefaultMessageFactory(); SocketInitiator initiator =3D new SocketInitiator((QuickFix.Application) application, storeFactory, settings, logFactory, messageFactory ); =20 initiator.start(); // MessageBox.Show(" Waiting to Log On to FIX"); while(!loggedOn) Thread.Sleep(100); // MessageBox.Show(" Logged On to FIX"); } catch(ConfigError cfgEx) { Console.WriteLine(cfgEx); } } |
From: Oren M. <ore...@ya...> - 2003-08-15 14:26:14
|
Srinivas, There is no need to call start again, in fact you should not do this. QuickFIX will continue attempting to reconnect based on the ReconnectInterval, which by default is 30 seconds. If you lose connection normally or abnormally, onLogout will be called. --- sri...@rh... wrote: > Hi Oren, > > > > When I create a Session by calling start() > method described as > follows > > > > > > The onLogon sets the loggedon = true correctly. > When the session gets > closed because of time outs or other problems, do I > need to call the > start() again to create a new session or does the > QuickFix create a new > session automatically when it detects a session > disconnect. > > > > Does the session disconnect call the onLogout and > set the loggedOn = > false > > > > Please Help. > > > > Thanks Srinivas > > > > public void onLogon( SessionID sessionID ) > > { > > MessageBox.Show("Log On to FIX"); > > loggedOn = true; > > } > > > > public void onLogout( SessionID > sessionID ) > > { > > loggedOn = false; > > } > > public static void start() > > { > > try > > { > > String fileName = > "I:\\REDIStrategy\\GUIVersion\\config\\fix1.ini"; > > SessionSettings settings = > new > SessionSettings(fileName); > > FixReceiveEngine application > = new > FixReceiveEngine(); > > // ScreenLogFactory > logFactory = new > ScreenLogFactory( true, true, true ); > > FileStoreFactory > storeFactory = new > FileStoreFactory(settings); > > FileLogFactory logFactory = > new > FileLogFactory("logs"); > > MessageFactory > messageFactory = new > DefaultMessageFactory(); > > SocketInitiator initiator > > = new > SocketInitiator((QuickFix.Application) application, > storeFactory, > settings, logFactory, messageFactory ); > > > > initiator.start(); > > // MessageBox.Show(" Waiting > to Log On to FIX"); > > while(!loggedOn) > > Thread.Sleep(100); > > // > MessageBox.Show(" Logged On to > FIX"); > > } > > catch(ConfigError cfgEx) > > { > > Console.WriteLine(cfgEx); > > } > > } > > __________________________________ Do you Yahoo!? Yahoo! SiteBuilder - Free, easy-to-use web site design software http://sitebuilder.yahoo.com |
From: Oren M. <ore...@ya...> - 2003-08-15 03:41:00
|
I would check on your gcc installation. Do you know what version it is/how it was installed. The configure script isn't finding the typeinfo include file. Does your version of gcc support RTTI? It is really only necessary for the unit testing framework, but this is useful to validate your build is working correctly. "Ota, Yoshiki (Japan)" <Yos...@ex...> wrote: Hello, I get an error when I configure quickfix on a solaris machine. Can you please give an advise to resolve this error? Thank you, tkuwapd23> ./configure loading cache ./config.cache checking for a BSD compatible install... ./install-sh -c checking whether build environment is sane... yes checking whether make sets ${MAKE}... (cached) yes checking for working aclocal... missing checking for working autoconf... missing checking for working automake... missing checking for working autoheader... missing checking for working makeinfo... found checking for c++... (cached) c++ checking whether the C++ compiler (c++ ) works... yes checking whether the C++ compiler (c++ ) is a cross-compiler... no checking whether we are using GNU C++... (cached) yes checking whether c++ accepts -g... (cached) yes checking for gcc... (cached) gcc checking whether the C compiler (gcc ) works... yes checking whether the C compiler (gcc ) is a cross-compiler... no checking whether we are using GNU C... (cached) yes checking whether gcc accepts -g... (cached) yes checking host system type... sparc-sun-solaris2.6 checking build system type... sparc-sun-solaris2.6 checking for ranlib... (cached) ranlib checking for ld used by GCC... (cached) /usr/ccs/bin/ld checking if the linker (/usr/ccs/bin/ld) is GNU ld... (cached) no checking for BSD-compatible nm... (cached) /usr/ccs/bin/nm -p checking whether ln -s works... (cached) yes checking for object suffix... o checking for executable suffix... no checking for gcc option to produce PIC... -fPIC checking if gcc PIC flag -fPIC works... yes checking if gcc supports -c -o file.o... yes checking if gcc supports -c -o file.lo... yes checking if gcc supports -fno-rtti -fno-exceptions ... no checking if gcc static flag -static works... -static checking if the linker (/usr/ccs/bin/ld) is GNU ld... no checking whether the linker (/usr/ccs/bin/ld) supports shared libraries... yes checking command to parse /usr/ccs/bin/nm -p output... ok checking how to hardcode library paths into programs... immediate checking for /usr/ccs/bin/ld option to reload object files... -r checking dynamic linker characteristics... solaris2.6 ld.so checking if libtool supports shared libraries... yes checking whether to build shared libraries... yes checking whether to build static libraries... no checking for objdir... .libs creating libtool loading cache ./config.cache checking how to run the C preprocessor... gcc -E checking for flex... flex checking for flex... (cached) flex checking for yywrap in -lfl... no checking lex output file root... lex.yy checking whether yytext is a pointer... no ./configure: ruby: not found checking for xml2-config... /home/otayos/usr/local/bin/xml2-config checking for libxml - version >= 2.0.0... yes (version 2.5.3) checking for shutdown in -lc... yes checking for inet_addr in -lc... yes checking for pthread_create in -lpthread... yes checking for pthread_create in -lc_r... no checking for stdio.h... yes checking for STREAMS ioctl... yes checking for set_terminate in the global namespace... yes checking for typeinfo in the global namespace... no checking for typeinfo in the std namespace... no configure: error: type_info is required by the test library ------------------------------------------------------- This SF.Net email sponsored by: Free pre-built ASP.NET sites including Data Reports, E-commerce, Portals, and Forums are available now. Download today and enter to win an XBOX or Visual Studio .NET. http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet_072303_01/01 _______________________________________________ Quickfix-developers mailing list Qui...@li... https://lists.sourceforge.net/lists/listinfo/quickfix-developers --------------------------------- Do you Yahoo!? Yahoo! SiteBuilder - Free, easy-to-use web site design software |
From: Oren M. <ore...@ya...> - 2003-08-15 03:38:00
|
Yeah. The static data dictionary for the message was definately a bit of hackery. I actually needed this for something last year and this was the simplest way to get it to work in C++, java and C# without having to write JNI and .NET wrappers for the DataDictionary. Generally, however, resetting the messages data dictionary isn't totally necessary if you just set it to the latest version you are supporting. If you are supporting versions 4.0-4.2 for instance, passing the message the 4.2 dictionary should work quite well for all of them, since later versions tend to more or less be supersets of the previous versions. This is less true since the 4.4 release since a significant number of field names have changed, however not so much that they are unrecognizable from their former incarnations. I would agree that passing a data dictionary to the message makes a good deal of sense. Actually I picture two signatures, one with and without a data dictionary. If no DD is provided, the message can pull the sessionid out of itself and pull out the appropriate DataDictionary with the lookupSession call. This second signature would also be very easy to expose to all the supported APIs. Daniel May <Dan...@ma...> wrote: I agree that as a starting point there should at least be an access method to get a pointer to the DataDictionary in the Session class. The static method FIX::Message::InitializeXML() is really only useful if your are managing sessions that all use the same (i.e. FIX4.1) FIX protocol version. Otherwise, you need to set it every time a message comes through with a different protocol version. Does FIX::Message really need to keep a pointer to a DataDictionary ? I would think the caller could be responsible for passing in that pointer, which they could pull from the appropriate Session ? Daniel From: Gene Gorokhovsky <musor102@ya...> Re: Message data dictionary initialisation 2003-04-30 09:31 Oren is aware that DataDict <-> Session <-> Message relationship needs improvement. Unfortunately getting it "right" requires significant code changes. Perhaps as the first step DataDictionary pointer could be publicly exposed in Session class. Gene --- Mark Lees <Mark.Lees@bt...> wrote: > All, > > I'm trying to get Message::toXML() to ouput the > names of the fields aswell > as the field numbers and looking at the code in > toXMLFields() it references > the static data dictionary > Message::s_dataDictionary. > > When I receive a message I have the message itself > and a sessionID. I can > get a pointer to my session using > Session::lookupSession() but the discreet > session data dictionary Session::m_dataDictionary > does not have an accessor > and it is declared private. > > It also appears strange to me that each session has > it's own data dictionary > but the Message class has a statically declared one. > It appears possible to > have a different data dictionary per session but a > Message must only have > one. > > Also, the only method that sets the Message data > dictionary is handed a URL > and not a pre-constructed data dictionary. > > Am I pushing the library too far ? Is this just not > quite complete yet? > > I'm basically after outputting the complete message > I received into a log > file in XML format with the names, numbers, > enumerations/values... > > Thanks > Mark. > **************************************************************************** > This message is confidential to the sender and > addressee, and may contain > proprietary or legally privileged information. If > you are not the intended > recipient, please delete it from your system, > destroy any copies, and notify > the sender immediately. Opinions stated herein are > not necessarily those of > BrokerTec. BrokerTec reserves the right to monitor > messages that pass > through it's networks. BrokerTec Europe Ltd is > regulated by FSA. > > > ------------------------------------------------------- > This sf.net email is sponsored by:ThinkGeek > Welcome to geek heaven. > http://thinkgeek.com/sf > _______________________________________________ > Quickfix-developers mailing list > Quickfix-developers@li... > https://lists.sourceforge.net/lists/listinfo/quickfix-developers __________________________________ Do you Yahoo!? The New Yahoo! Search - Faster. Easier. Bingo. http://search.yahoo.com Daniel May da...@ma... da...@co... > ATTACHMENT part 2 image/gif name=msg.gif --------------------------------- Do you Yahoo!? Yahoo! SiteBuilder - Free, easy-to-use web site design software |
From: Parag T. <PT...@tc...> - 2003-08-14 08:33:17
|
I got following error when I tried FIX::Messsage getNewOrderList() { FIX40::NewOrderList newOrderList( FIX::ListID(listID), FIX::ListSeqNo(ListSeqNo), FIX::ListNoOrds(ListNoOrds), FIX::ClOrdID(clOrdID), FIX::HandlInst(chHandlInst), FIX::Symbol(symbol), FIX::Side(chSide), FIX::OrderQty(orderQty), FIX::OrdType(chOrdType)); return newOrderList; } error C2664: '__thiscall FIX::Message::FIX::Message(const class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> > &,bool)' : cannot convert parameter 1 from 'class FIX40: :NewOrderList (__cdecl *)(class FIX::ListID,class FIX::ListSeqNo,class FIX::ListNoOrds,class FIX::ClOrdID,class FIX::HandlInst,class FIX::Symbol,class FIX::Side,class FIX::OrderQty,class FIX::OrdType)' to 'const class std::basic_string<char,struct s td::char_traits<char>,class std::allocator<char> > &' Reason: cannot convert from 'class FIX40::NewOrderList (__cdecl *)(class FIX::ListID,class FIX::ListSeqNo,class FIX::ListNoOrds,class FIX::ClOrdID,class FIX::HandlInst,class FIX::Symbol,class FIX::Side,class FIX::OrderQty,class FIX::OrdType) ' to 'const class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> >' No constructor could take the source type, or constructor overload resolution was ambiguous Error will occur if I try to send newOrderList FIX::Session::sendToTarget( newOrderList ); But it is not a case with NewOrder why? |
From: Ota, Y. (Japan) <Yos...@ex...> - 2003-08-14 06:05:29
|
Hello, I get an error when I configure quickfix on a solaris machine. Can you please give an advise to resolve this error? Thank you, tkuwapd23> ./configure loading cache ./config.cache checking for a BSD compatible install... ./install-sh -c checking whether build environment is sane... yes checking whether make sets ${MAKE}... (cached) yes checking for working aclocal... missing checking for working autoconf... missing checking for working automake... missing checking for working autoheader... missing checking for working makeinfo... found checking for c++... (cached) c++ checking whether the C++ compiler (c++ ) works... yes checking whether the C++ compiler (c++ ) is a cross-compiler... no checking whether we are using GNU C++... (cached) yes checking whether c++ accepts -g... (cached) yes checking for gcc... (cached) gcc checking whether the C compiler (gcc ) works... yes checking whether the C compiler (gcc ) is a cross-compiler... no checking whether we are using GNU C... (cached) yes checking whether gcc accepts -g... (cached) yes checking host system type... sparc-sun-solaris2.6 checking build system type... sparc-sun-solaris2.6 checking for ranlib... (cached) ranlib checking for ld used by GCC... (cached) /usr/ccs/bin/ld checking if the linker (/usr/ccs/bin/ld) is GNU ld... (cached) no checking for BSD-compatible nm... (cached) /usr/ccs/bin/nm -p checking whether ln -s works... (cached) yes checking for object suffix... o checking for executable suffix... no checking for gcc option to produce PIC... -fPIC checking if gcc PIC flag -fPIC works... yes checking if gcc supports -c -o file.o... yes checking if gcc supports -c -o file.lo... yes checking if gcc supports -fno-rtti -fno-exceptions ... no checking if gcc static flag -static works... -static checking if the linker (/usr/ccs/bin/ld) is GNU ld... no checking whether the linker (/usr/ccs/bin/ld) supports shared libraries... yes checking command to parse /usr/ccs/bin/nm -p output... ok checking how to hardcode library paths into programs... immediate checking for /usr/ccs/bin/ld option to reload object files... -r checking dynamic linker characteristics... solaris2.6 ld.so checking if libtool supports shared libraries... yes checking whether to build shared libraries... yes checking whether to build static libraries... no checking for objdir... .libs creating libtool loading cache ./config.cache checking how to run the C preprocessor... gcc -E checking for flex... flex checking for flex... (cached) flex checking for yywrap in -lfl... no checking lex output file root... lex.yy checking whether yytext is a pointer... no ./configure: ruby: not found checking for xml2-config... /home/otayos/usr/local/bin/xml2-config checking for libxml - version >= 2.0.0... yes (version 2.5.3) checking for shutdown in -lc... yes checking for inet_addr in -lc... yes checking for pthread_create in -lpthread... yes checking for pthread_create in -lc_r... no checking for stdio.h... yes checking for STREAMS ioctl... yes checking for set_terminate in the global namespace... yes checking for typeinfo in the global namespace... no checking for typeinfo in the std namespace... no configure: error: type_info is required by the test library |
From: Parag T. <PT...@tc...> - 2003-08-14 05:52:02
|
Sorry , My earlier query was not right. Rewiriting it considering your solution. Your solution is acceptable to me. I want little modification as shown below Your Solution is: FIX::Message getNewOrderList() { return FIX40::NewOrderList newOrderList( FIX::ListID(listID), FIX::ListSeqNo(ListSeqNo), FIX::ListNoOrds(ListNoOrds), FIX::ClOrdID(clOrdID), FIX::HandlInst(chHandlInst), FIX::Symbol(symbol), FIX::Side(chSide), FIX::OrderQty(orderQty), FIX::OrdType(chOrdType)); } My modification: FIX::Message getNewOrderList() { FIX::Message message; try { FIX40::NewOrderList newOrderList( FIX::ListID(listID), FIX::ListSeqNo(ListSeqNo), FIX::ListNoOrds(ListNoOrds), FIX::ClOrdID(clOrdID), FIX::HandlInst(chHandlInst), FIX::Symbol(symbol), FIX::Side(chSide), FIX::OrderQty(orderQty), FIX::OrdType(chOrdType)); message =newOrderList; //Here i get error for converting to FIX::Message } catch(...) { MyExcep excep; throw excep; } return message } I am not returning from try block as I want to avoid warning ::"not all control returns value" ----- Forwarded by Parag Tawde/MBY/NOTES on 08/14/2003 10:29 AM ----- Oren Miller <orenmnero@yahoo. To: Parag Tawde <PT...@tc...>, com> qui...@li... cc: 08/14/2003 02:09 Subject: Re: [Quickfix-developers] Error converting AM FIX40::NewOrderList to FIX::Message You're a java developer arn't you :) Ok, there are a few problems here. The big one is that you're trying to copy a pointer into an object without dereferencing it. Also, you are allocatting on the heap without deleting, which will give you a memory leak. In any case, if you have a need for such a method, you could simply write it like this. FIX::Message getNewOrderList() { return FIX40::NewOrderList newOrderList( FIX::ListID(listID), FIX::ListSeqNo(ListSeqNo), FIX::ListNoOrds(ListNoOrds), FIX::ClOrdID(clOrdID), FIX::HandlInst(chHandlInst), FIX::Symbol(symbol), FIX::Side(chSide), FIX::OrderQty(orderQty), FIX::OrdType(chOrdType)); } __________________________________ Do you Yahoo!? Yahoo! SiteBuilder - Free, easy-to-use web site design software http://sitebuilder.yahoo.com |
From: Oren M. <ore...@ya...> - 2003-08-14 00:56:14
|
Check the working directory when you run under the IDE. The current release will crash if it unable to find the DataDictionary, which may be the case when you are running under the IDE. dwi...@jp... wrote:I'm writing a GUI for test FIX engine with the free Sun IDE. The application crashes with the follwing error message: Unexpected exception has been detected in native code outside the VM. Unexpected Signal : EXCEPTION_ACCESS_VIOLATION occurred at PC=0xAF18902 Function=FIX::DataDictionary::readFromURL+0x1B0 Library=C:\FIX\1.5\quickfix\lib\quickfix_jni_debug.dll Source file = c:\fix\1.5\quickfix\src\c++\datadictionary.cpp : 200 Current Java thread: at org.quickfix.SocketInitiator.create(Native Method) at org.quickfix.SocketInitiator.(Unknown Source) at TestGui.initFIX(TestGui.java:46) at TestGui.(TestGui.java:33) at TestGui.main(TestGui.java:126) Running it outside the IDE produces no error messages and the application runs without problem. Any Suggestions? Thanks Dwight This communication is for informational purposes only. It is not intended as an offer or solicitation for the purchase or sale of any financial instrument or as an official confirmation of any transaction. All market prices, data and other information are not warranted as to completeness or accuracy and are subject to change without notice. Any comments or statements made herein do not necessarily reflect those of J.P. Morgan Chase & Co., its subsidiaries and affiliates. ------------------------------------------------------- This SF.Net email sponsored by: Free pre-built ASP.NET sites including Data Reports, E-commerce, Portals, and Forums are available now. Download today and enter to win an XBOX or Visual Studio .NET. http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet_072303_01/01 _______________________________________________ Quickfix-developers mailing list Qui...@li... https://lists.sourceforge.net/lists/listinfo/quickfix-developers --------------------------------- Do you Yahoo!? Yahoo! SiteBuilder - Free, easy-to-use web site design software |
From: Andrew M. <an...@nm...> - 2003-08-13 23:50:05
|
Are you sure that when the IDE runs the project it's including -Djava.library.path=c:\FIX\1.5\quickfix\lib as a VM parameter? -Andrew On Wed, 13 Aug 2003 dwi...@jp... wrote: > I'm writing a GUI for test FIX engine with the free Sun IDE. > > The application crashes with the follwing error message: > Unexpected exception has been detected in native code outside the VM. > Unexpected Signal : EXCEPTION_ACCESS_VIOLATION occurred at PC=0xAF18902 > Function=FIX::DataDictionary::readFromURL+0x1B0 > Library=C:\FIX\1.5\quickfix\lib\quickfix_jni_debug.dll > Source file = c:\fix\1.5\quickfix\src\c++\datadictionary.cpp : 200 > Current Java thread: > at org.quickfix.SocketInitiator.create(Native Method) > at org.quickfix.SocketInitiator.<init>(Unknown Source) > at TestGui.initFIX(TestGui.java:46) > at TestGui.<init>(TestGui.java:33) > at TestGui.main(TestGui.java:126) > > > Running it outside the IDE produces no error messages and the application > runs without problem. > > > > Any Suggestions? > > Thanks > > Dwight > > > > > This communication is for informational purposes only. It is not intended as > an offer or solicitation for the purchase or sale of any financial instrument > or as an official confirmation of any transaction. All market prices, data > and other information are not warranted as to completeness or accuracy and > are subject to change without notice. Any comments or statements made herein > do not necessarily reflect those of J.P. Morgan Chase & Co., its > subsidiaries and affiliates. > > > > ------------------------------------------------------- > This SF.Net email sponsored by: Free pre-built ASP.NET sites including > Data Reports, E-commerce, Portals, and Forums are available now. > Download today and enter to win an XBOX or Visual Studio .NET. > http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet_072303_01/01 > _______________________________________________ > Quickfix-developers mailing list > Qui...@li... > https://lists.sourceforge.net/lists/listinfo/quickfix-developers > |
From: <dwi...@jp...> - 2003-08-13 21:50:23
|
I'm writing a GUI for test FIX engine with the free Sun IDE. The application crashes with the follwing error message: Unexpected exception has been detected in native code outside the VM. Unexpected Signal : EXCEPTION_ACCESS_VIOLATION occurred at PC=0xAF18902 Function=FIX::DataDictionary::readFromURL+0x1B0 Library=C:\FIX\1.5\quickfix\lib\quickfix_jni_debug.dll Source file = c:\fix\1.5\quickfix\src\c++\datadictionary.cpp : 200 Current Java thread: at org.quickfix.SocketInitiator.create(Native Method) at org.quickfix.SocketInitiator.<init>(Unknown Source) at TestGui.initFIX(TestGui.java:46) at TestGui.<init>(TestGui.java:33) at TestGui.main(TestGui.java:126) Running it outside the IDE produces no error messages and the application runs without problem. Any Suggestions? Thanks Dwight This communication is for informational purposes only. It is not intended as an offer or solicitation for the purchase or sale of any financial instrument or as an official confirmation of any transaction. All market prices, data and other information are not warranted as to completeness or accuracy and are subject to change without notice. Any comments or statements made herein do not necessarily reflect those of J.P. Morgan Chase & Co., its subsidiaries and affiliates. |
From: Oren M. <ore...@ya...> - 2003-08-13 20:45:33
|
You're a java developer arn't you :) Ok, there are a few problems here. The big one is that you're trying to copy a pointer into an object without dereferencing it. Also, you are allocatting on the heap without deleting, which will give you a memory leak. In any case, if you have a need for such a method, you could simply write it like this. FIX::Message getNewOrderList() { return FIX40::NewOrderList newOrderList( FIX::ListID(listID), FIX::ListSeqNo(ListSeqNo), FIX::ListNoOrds(ListNoOrds), FIX::ClOrdID(clOrdID), FIX::HandlInst(chHandlInst), FIX::Symbol(symbol), FIX::Side(chSide), FIX::OrderQty(orderQty), FIX::OrdType(chOrdType)); } __________________________________ Do you Yahoo!? Yahoo! SiteBuilder - Free, easy-to-use web site design software http://sitebuilder.yahoo.com |
From: Parag T. <PT...@tc...> - 2003-08-13 08:49:12
|
I am writing a wrapper function which should return NewOrderList object. But there is a error when try to map FIX40::NewOrderList to FIX::Message. Your help is highly appreciated. I am using quickfix 1.5.0 on win 2K FIX::Message getNewOrderList() { FIX::Message message; FIX40::NewOrderList *newOrderList = new FIX40::NewOrderList( FIX::ListID(listID), FIX::ListSeqNo(ListSeqNo), FIX::ListNoOrds(ListNoOrds), FIX::ClOrdID(clOrdID), FIX::HandlInst(chHandlInst), FIX::Symbol(symbol), FIX::Side(chSide), FIX::OrderQty(orderQty), FIX::OrdType(chOrdType)); message =newOrderList; return message; } |
From: Alex H. <al...@an...> - 2003-08-13 08:15:48
|
On Tue, 2003-08-12 at 15:49, Jon Dahl wrote: > Alex, > > I downloaded from CVS for the date 08-10-2003 and for some reason I can't open > the quickfix.dsw VC6 workspace.... any ideas why? > Nope :) I normally build on linux. Perhaps someone on the list has seen the same problem. Alex. |