Thread: [Quickfix-developers] quickfix & delphi
Brought to you by:
orenmnero
|
From: Abel M. <am...@bo...> - 2007-03-27 10:36:27
|
Hello everyone, We have been using quickfix in our linux applications for a long time=20 and now we are trying to use it in our Windows apps. Someone has used=20 Delphi 2006 with QuickFix? We are having problems trying to use the=20 .lib into Dephi projects, has anybody done this before or have some idea = about what are the steps in order to get a Delphi application with = QuickFix? Best Regards Abel Monroy Visual Trader ****************************** AVISO LEGAL = ****************************** La informaci=F3n contenida en este mensaje es para uso exclusivo de su = destinatario. No debe copiarse, transmitirse a terceros ni guardarse por = estos =FAltimos, salvo autorizaci=F3n del remitente. Puede contener informaci=F3n confidencial o legalmente protegida cuyo = r=E9gimen legal de utilizaci=F3n no se ve afectado por el hecho de que = haya sido enviada por correo electr=F3nico. Su env=EDo por error a una persona distinta de su destinatario real no = implica que se haya modificado tal destinatario ni supone renuncia a su = eventual car=E1cter confidencial o al r=E9gimen legal que rija su = utilizaci=F3n. Cualquier opini=F3n expresada en este mensaje vincular=E1 exclusivamente = a la persona que lo haya remitido, excepto cuando el mensaje establezca = lo contrario y el remitente est=E9 autorizado para establecer que dichas = opiniones vincular=E1n a esta entidad. En el supuesto de que este correo se recibiera por error, rogamos = procedan a borrarlo, sin reenviarlo a terceros ni conservarlo en = cualquier soporte y nos informen inmediatamente llamando al tel=E9fono = 34 91 7095566 o a la direcci=F3n de correo electr=F3nico remitente. = Gracias. ****************************** DISCLAIMER ****************************** The information contained in this message is for the exclusive use of = the named person. It can not be copied, transmitted to third parties or = stored by the latter, except if authorised by the sender. It may contain confidential or legally privileged information whose = legal regime is not affected by the fact that this information has been = sent by e-mail.=20 Its erroneous transmission to a person other than the real named person = neither implies any modification of this named person nor a renunciation = of the eventual confidentiality or legal regime affecting the use of = concerned message. Any views expressed in this message are binding exclusively upon the = individual sender, except where the message states otherwise and the = sender is authorised to bind this entity.=20 If you receive this message in error, please delete it without = transmitting it to any third party or keeping it in any form and notify = us immediately either by phone (34 91 7095566) or using the e- mail = address of the sender. Thank You. |
|
From: Djalma R. d. S. F. <drs...@gm...> - 2007-03-27 13:23:41
|
Hi Abel, It is often difficult to interface native code which is compiled by different compilers. Quickfix C++ lib exports functions with thiscall calling convension. I believe that it is not compatible with Delphi, as far as I know Delphi prefers fastcall or stdcall. I worked with Delphi a long time ago (Delphi 4). I had some experience importing COM and C DLLs with stdcall and frankly I don't believe that it i= s possible to use quickfix.lib in Delphi. I suggest that you go to managed code and import quickfix_net.dll and quickfix_net_messages.dll in your Delphi projects. Djalma On 3/27/07, Abel Monroy <am...@bo...> wrote: > > QuickFIX Documentation: > http://www.quickfixengine.org/quickfix/doc/html/index.html > QuickFIX Support: http://www.quickfixengine.org/services.html > > Hello everyone, > > We have been using quickfix in our linux applications for a long time > and now we are trying to use it in our Windows apps. Someone has used > Delphi 2006 with QuickFix? We are having problems trying to use the > .lib into Dephi projects, has anybody done this before or have some idea > about what are the steps in order to get a Delphi application with > QuickFix? > Best Regards > > Abel Monroy > Visual Trader > > > > > ****************************** AVISO LEGAL ****************************** > La informaci=F3n contenida en este mensaje es para uso exclusivo de su > destinatario. No debe copiarse, transmitirse a terceros ni guardarse por > estos =FAltimos, salvo autorizaci=F3n del remitente. > Puede contener informaci=F3n confidencial o legalmente protegida cuyo > r=E9gimen legal de utilizaci=F3n no se ve afectado por el hecho de que ha= ya sido > enviada por correo electr=F3nico. > Su env=EDo por error a una persona distinta de su destinatario real no > implica que se haya modificado tal destinatario ni supone renuncia a su > eventual car=E1cter confidencial o al r=E9gimen legal que rija su utiliza= ci=F3n. > Cualquier opini=F3n expresada en este mensaje vincular=E1 exclusivamente = a la > persona que lo haya remitido, excepto cuando el mensaje establezca lo > contrario y el remitente est=E9 autorizado para establecer que dichas > opiniones vincular=E1n a esta entidad. > En el supuesto de que este correo se recibiera por error, rogamos proceda= n > a borrarlo, sin reenviarlo a terceros ni conservarlo en cualquier soporte= y > nos informen inmediatamente llamando al tel=E9fono 34 91 7095566 o a la > direcci=F3n de correo electr=F3nico remitente. Gracias. > ****************************** DISCLAIMER ****************************** > The information contained in this message is for the exclusive use of the > named person. It can not be copied, transmitted to third parties or store= d > by the latter, except if authorised by the sender. > It may contain confidential or legally privileged information whose legal > regime is not affected by the fact that this information has been sent by > e-mail. > Its erroneous transmission to a person other than the real named person > neither implies any modification of this named person nor a renunciation = of > the eventual confidentiality or legal regime affecting the use of concern= ed > message. > Any views expressed in this message are binding exclusively upon the > individual sender, except where the message states otherwise and the send= er > is authorised to bind this entity. > If you receive this message in error, please delete it without > transmitting it to any third party or keeping it in any form and notify u= s > immediately either by phone (34 91 7095566) or using the e- mail address = of > the sender. Thank You. > > ------------------------------------------------------------------------- > Take Surveys. Earn Cash. Influence the Future of IT > Join SourceForge.net's Techsay panel and you'll get the chance to share > your > opinions on IT & business topics through brief surveys-and earn cash > http://www.techsay.com/default.php?page=3Djoin.php&p=3Dsourceforge&CID=3D= DEVDEV > _______________________________________________ > Quickfix-developers mailing list > Qui...@li... > https://lists.sourceforge.net/lists/listinfo/quickfix-developers > |
|
From: Kline - F. S. <s.f...@kl...> - 2007-03-27 13:31:27
|
Hi Abel, I use quickfix with Delphi 6.. for do it, I write a C wrapper to quickfix lib and compile it into a dll.. From Delphi I use call to wrapper dll.. and all work ok.. Stefano Djalma Rosa dos Santos Filho ha scritto: > QuickFIX Documentation: http://www.quickfixengine.org/quickfix/doc/html/index.html > QuickFIX Support: http://www.quickfixengine.org/services.html > > > > ------------------------------------------------------------------------ > > Hi Abel, > > It is often difficult to interface native code which is compiled by > different compilers. > Quickfix C++ lib exports functions with thiscall calling convension. > > I believe that it is not compatible with Delphi, as far as I know > Delphi prefers fastcall or stdcall. > I worked with Delphi a long time ago (Delphi 4). I had some > experience importing COM and C DLLs with stdcall and frankly I don't > believe that it is possible to use quickfix.lib in Delphi. > > I suggest that you go to managed code and import quickfix_net.dll and > quickfix_net_messages.dll in your Delphi projects. > > Djalma > > On 3/27/07, *Abel Monroy* <am...@bo... > <mailto:am...@bo...>> wrote: > > QuickFIX Documentation: > http://www.quickfixengine.org/quickfix/doc/html/index.html > QuickFIX Support: http://www.quickfixengine.org/services.html > > Hello everyone, > > We have been using quickfix in our linux applications for a long time > and now we are trying to use it in our Windows apps. Someone has used > Delphi 2006 with QuickFix? We are having problems trying to use the > .lib into Dephi projects, has anybody done this before or have > some idea > about what are the steps in order to get a Delphi application with > QuickFix? > Best Regards > > Abel Monroy > Visual Trader > > > > > ****************************** AVISO LEGAL > ****************************** > La información contenida en este mensaje es para uso exclusivo de > su destinatario. No debe copiarse, transmitirse a terceros ni > guardarse por estos últimos, salvo autorización del remitente. > Puede contener información confidencial o legalmente protegida > cuyo régimen legal de utilización no se ve afectado por el hecho > de que haya sido enviada por correo electrónico. > Su envío por error a una persona distinta de su destinatario real > no implica que se haya modificado tal destinatario ni supone > renuncia a su eventual carácter confidencial o al régimen legal > que rija su utilización. > Cualquier opinión expresada en este mensaje vinculará > exclusivamente a la persona que lo haya remitido, excepto cuando > el mensaje establezca lo contrario y el remitente esté autorizado > para establecer que dichas opiniones vincularán a esta entidad. > En el supuesto de que este correo se recibiera por error, rogamos > procedan a borrarlo, sin reenviarlo a terceros ni conservarlo en > cualquier soporte y nos informen inmediatamente llamando al > teléfono 34 91 7095566 o a la dirección de correo electrónico > remitente. Gracias. > ****************************** DISCLAIMER > ****************************** > The information contained in this message is for the exclusive use > of the named person. It can not be copied, transmitted to third > parties or stored by the latter, except if authorised by the sender. > It may contain confidential or legally privileged information > whose legal regime is not affected by the fact that this > information has been sent by e-mail. > Its erroneous transmission to a person other than the real named > person neither implies any modification of this named person nor a > renunciation of the eventual confidentiality or legal regime > affecting the use of concerned message. > Any views expressed in this message are binding exclusively upon > the individual sender, except where the message states otherwise > and the sender is authorised to bind this entity. > If you receive this message in error, please delete it without > transmitting it to any third party or keeping it in any form and > notify us immediately either by phone (34 91 7095566) or using the > e- mail address of the sender. Thank You. > > ------------------------------------------------------------------------- > Take Surveys. Earn Cash. Influence the Future of IT > Join SourceForge.net's Techsay panel and you'll get the chance to > share your > opinions on IT & business topics through brief surveys-and earn cash > http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV > <http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV> > _______________________________________________ > Quickfix-developers mailing list > Qui...@li... > <mailto:Qui...@li...> > https://lists.sourceforge.net/lists/listinfo/quickfix-developers > > > ------------------------------------------------------------------------ > > ------------------------------------------------------------------------- > Take Surveys. Earn Cash. Influence the Future of IT > Join SourceForge.net's Techsay panel and you'll get the chance to share your > opinions on IT & business topics through brief surveys-and earn cash > http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV > ------------------------------------------------------------------------ > > _______________________________________________ > Quickfix-developers mailing list > Qui...@li... > https://lists.sourceforge.net/lists/listinfo/quickfix-developers -- Distinti saluti Ing. Stefano Facchetti** * * *KLINE srl */Via Solferino, 4/b 25024 Leno (BS) Tel. 030 9048384 Fax 02 700443977/** * * Questa e-mail, compreso qualunque allegato, può contenere informazione private o confidenziali. Se non siete il corretto destinatario o se avete ricevuto erroneamente questo messaggio contattate immediatamente il mittente e cancellate tutte le copie della e-mail. Se non siete il corretto destinatario non dovete riprodurre nessuna parte di questa e-mail o modificarne i contenuti. Questo messaggio rappresenta l'opinione del mittente e non necessariamente l'opinione dell'azienda. This e-mail, including any attachments, may contain private or confidential information. If you think you may not be the intended recipient, or if you have received this e-mail in error, please contact the sender immediately and delete all copies of this e-mail. If you are not the intended recipient, you must not reproduce any part of this e-mail or disclose its contents to any other party. This message represents the opinion of the sender and not necessarily the opinion of the company. |
|
From: Abel M. <am...@bo...> - 2007-03-27 14:02:09
|
****************************** AVISO LEGAL = ****************************** La informaci=F3n contenida en este mensaje es para uso exclusivo de su = destinatario. No debe copiarse, transmitirse a terceros ni guardarse por = estos =FAltimos, salvo autorizaci=F3n del remitente. Puede contener informaci=F3n confidencial o legalmente protegida cuyo = r=E9gimen legal de utilizaci=F3n no se ve afectado por el hecho de que = haya sido enviada por correo electr=F3nico. Su env=EDo por error a una persona distinta de su destinatario real no = implica que se haya modificado tal destinatario ni supone renuncia a su = eventual car=E1cter confidencial o al r=E9gimen legal que rija su = utilizaci=F3n. Cualquier opini=F3n expresada en este mensaje vincular=E1 exclusivamente = a la persona que lo haya remitido, excepto cuando el mensaje establezca = lo contrario y el remitente est=E9 autorizado para establecer que dichas = opiniones vincular=E1n a esta entidad. En el supuesto de que este correo se recibiera por error, rogamos = procedan a borrarlo, sin reenviarlo a terceros ni conservarlo en = cualquier soporte y nos informen inmediatamente llamando al tel=E9fono = 34 91 7095566 o a la direcci=F3n de correo electr=F3nico remitente. = Gracias. ****************************** DISCLAIMER ****************************** The information contained in this message is for the exclusive use of = the named person. It can not be copied, transmitted to third parties or = stored by the latter, except if authorised by the sender. It may contain confidential or legally privileged information whose = legal regime is not affected by the fact that this information has been = sent by e-mail.=20 Its erroneous transmission to a person other than the real named person = neither implies any modification of this named person nor a renunciation = of the eventual confidentiality or legal regime affecting the use of = concerned message. Any views expressed in this message are binding exclusively upon the = individual sender, except where the message states otherwise and the = sender is authorised to bind this entity.=20 If you receive this message in error, please delete it without = transmitting it to any third party or keeping it in any form and notify = us immediately either by phone (34 91 7095566) or using the e- mail = address of the sender. Thank You. |
|
From: Kline - F. S. <s.f...@kl...> - 2007-03-27 14:37:39
|
Abel, It's not possible to make a C++ wrapper, in fact delphi VCL can load external procedure/function from only pure C dll. As workaround I have make a C wrapper with only static method and pointer (in pure C is not possible to use class), and I use them to interface quickfixlib object.. If you can use Delphi .NET I suggest to use it. Abel Monroy ha scritto: > Ciao Stefano, > > This wrapper solution is the one that we are thinking of now, but we > are kind of lost here. Do you take the quickfix.lib library and make > some C++ classes in order to make the calls to the different classes > and functions? > You say a C wrapper, so, do you think that it's not possible to make a > C++ wrapper? I'm asking this because QuickFix everything is classes, > so I can't imagine how you can make this wrapper without using classes > (do you define a bunch of singleton or static objects, in order to be > able to call the methods inside the classes? ) > Thanks in advance > Abel > > Kline - Facchetti Stefano wrote: >> Hi Abel, >> I use quickfix with Delphi 6.. for do it, I write a C wrapper to >> quickfix lib and compile it into a dll.. >> >From Delphi I use call to wrapper dll.. and all work ok.. >> >> Stefano >> |
|
From: Djalma R. d. S. F. <drs...@gm...> - 2007-03-27 15:03:31
|
Hi Abel / Stefano, It is possible to simulate classes in pure C by implementing structs with function pointers. Of course, in this situation some global variables and initialization/unitialization functions are required. See Winamp SDK samples, they do exactly that and the plugins can be written and tested in Delphi (I read that somewhere when I was investigating a good plugin architecture for my current application). IMHO, it would be much easier to create a COM wrapper (DLL - inproc) for Quickfix using ATL. An example is MSXML, you can use it in Delphi and looks like OOP. Djalma On 3/27/07, Kline - Facchetti Stefano <s.f...@kl...> wrote: > > QuickFIX Documentation: > http://www.quickfixengine.org/quickfix/doc/html/index.html > QuickFIX Support: http://www.quickfixengine.org/services.html > > > Abel, > It's not possible to make a C++ wrapper, in fact delphi VCL can load > external procedure/function from only pure C dll. > As workaround I have make a C wrapper with only static method and pointer > (in pure C is not possible to use class), and I use them to interface > quickfixlib object.. > > If you can use Delphi .NET I suggest to use it. > > Abel Monroy ha scritto: > > Ciao Stefano, > > This wrapper solution is the one that we are thinking of now, but we are > kind of lost here. Do you take the quickfix.lib library and make some C++ > classes in order to make the calls to the different classes and functions? > You say a C wrapper, so, do you think that it's not possible to make a C++ > wrapper? I'm asking this because QuickFix everything is classes, so I can't > imagine how you can make this wrapper without using classes (do you define a > bunch of singleton or static objects, in order to be able to call the > methods inside the classes? ) > Thanks in advance > Abel > > Kline - Facchetti Stefano wrote: > > Hi Abel, > I use quickfix with Delphi 6.. for do it, I write a C wrapper to quickfix > lib and compile it into a dll.. > >From Delphi I use call to wrapper dll.. and all work ok.. > > Stefano > > > > ------------------------------------------------------------------------- > Take Surveys. Earn Cash. Influence the Future of IT > Join SourceForge.net's Techsay panel and you'll get the chance to share > your > opinions on IT & business topics through brief surveys-and earn cash > http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV > _______________________________________________ > Quickfix-developers mailing list > Qui...@li... > https://lists.sourceforge.net/lists/listinfo/quickfix-developers > |
|
From: LuCiD <nei...@ya...> - 2007-05-03 10:12:19
|
Hi Guys We are looking at implementing FIX on our trading systems. We are a Delphi shop. We are using Delphi 6 and 2006. I have looked at your post and being new to the Delphi.Net arena I have one question... How do I use the quickfix_net.dll and the quickfix_net_messages.dll in a Delphi.Net application. I have tried adding a namespace for it with no success even tried the Import the DLL from the Components Installed .Net Components Menu and this gives me the message NOT A VALID .Net Assembly. What am I doing wrong? How do I get Delphi.Net to use these files? Thanks Neil -- View this message in context: http://www.nabble.com/quickfix---delphi-tf3472267.html#a10302064 Sent from the QuickFIX - Dev mailing list archive at Nabble.com. |
|
From: Djalma R. d. S. F. <drs...@gm...> - 2007-05-03 18:16:04
|
After a little googling I found that it seems to be a Delphi 6 limitation that still cannot use .NET 2.0. Try with the dlls in the quickfix VS7 binary package. Djalma On 5/3/07, LuCiD <nei...@ya...> wrote: > > QuickFIX Documentation: > http://www.quickfixengine.org/quickfix/doc/html/index.html > QuickFIX Support: http://www.quickfixengine.org/services.html > > > Hi Guys > > We are looking at implementing FIX on our trading systems. We are a Delphi > shop. We are using Delphi 6 and 2006. I have looked at your post and being > new to the Delphi.Net arena I have one question... How do I use the > quickfix_net.dll and the quickfix_net_messages.dll in a Delphi.Net > application. I have tried adding a namespace for it with no success even > tried the Import the DLL from the Components Installed .Net Components > Menu > and this gives me the message NOT A VALID .Net Assembly. What am I doing > wrong? How do I get Delphi.Net to use these files? > > Thanks > Neil > > -- > View this message in context: > http://www.nabble.com/quickfix---delphi-tf3472267.html#a10302064 > Sent from the QuickFIX - Dev mailing list archive at Nabble.com. > > > ------------------------------------------------------------------------- > This SF.net email is sponsored by DB2 Express > Download DB2 Express C - the FREE version of DB2 express and take > control of your XML. No limits. Just data. Click to get it now. > http://sourceforge.net/powerbar/db2/ > _______________________________________________ > Quickfix-developers mailing list > Qui...@li... > https://lists.sourceforge.net/lists/listinfo/quickfix-developers > |
|
From: LuCiD <nei...@ya...> - 2007-05-03 18:55:41
|
Hi Djalma .Net 2.0? Bugger. Well that makes it a little bit more interesting. Thanks for the help. Neil Djalma Rosa dos Santos Filho wrote: > > QuickFIX Documentation: > http://www.quickfixengine.org/quickfix/doc/html/index.html > QuickFIX Support: http://www.quickfixengine.org/services.html > > > After a little googling I found that it seems to be a Delphi 6 limitation > that still cannot use .NET 2.0. > > Try with the dlls in the quickfix VS7 binary package. > > Djalma > > On 5/3/07, LuCiD <nei...@ya...> wrote: >> >> QuickFIX Documentation: >> http://www.quickfixengine.org/quickfix/doc/html/index.html >> QuickFIX Support: http://www.quickfixengine.org/services.html >> >> >> Hi Guys >> >> We are looking at implementing FIX on our trading systems. We are a >> Delphi >> shop. We are using Delphi 6 and 2006. I have looked at your post and >> being >> new to the Delphi.Net arena I have one question... How do I use the >> quickfix_net.dll and the quickfix_net_messages.dll in a Delphi.Net >> application. I have tried adding a namespace for it with no success even >> tried the Import the DLL from the Components Installed .Net Components >> Menu >> and this gives me the message NOT A VALID .Net Assembly. What am I doing >> wrong? How do I get Delphi.Net to use these files? >> >> Thanks >> Neil >> >> -- >> View this message in context: >> http://www.nabble.com/quickfix---delphi-tf3472267.html#a10302064 >> Sent from the QuickFIX - Dev mailing list archive at Nabble.com. >> >> >> ------------------------------------------------------------------------- >> This SF.net email is sponsored by DB2 Express >> Download DB2 Express C - the FREE version of DB2 express and take >> control of your XML. No limits. Just data. Click to get it now. >> http://sourceforge.net/powerbar/db2/ >> _______________________________________________ >> Quickfix-developers mailing list >> Qui...@li... >> https://lists.sourceforge.net/lists/listinfo/quickfix-developers >> > > ------------------------------------------------------------------------- > This SF.net email is sponsored by DB2 Express > Download DB2 Express C - the FREE version of DB2 express and take > control of your XML. No limits. Just data. Click to get it now. > http://sourceforge.net/powerbar/db2/ > _______________________________________________ > Quickfix-developers mailing list > Qui...@li... > https://lists.sourceforge.net/lists/listinfo/quickfix-developers > -- View this message in context: http://www.nabble.com/quickfix---delphi-tf3472267.html#a10311104 Sent from the QuickFIX - Dev mailing list archive at Nabble.com. |