Re: [Quickfix-developers] quickfix & delphi
Brought to you by:
orenmnero
|
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 >> |