[Quickfix-developers] Interface quickFIX with Visual Basic
Brought to you by:
orenmnero
From: Jose M. <Jos...@db...> - 2004-07-16 09:41:12
|
Hello all, =20 I am writing an application that receives a stream of prices using = quickFIX. Based on the tradeclient sample I have created a small C++ class that = allows me to 'subscribe' to a price feed and receive prices. The = problem is that the final consumer of those prices is an application = written in Visual Basic and I am not quite sure about the best way to = interface the two. =20 I thought that one idea would be to create a COM interface for the = tradeclient C++ class that could raise events when it received a price. = In this way any COM enabled language could use the component. I was = wondering if any of you have already done something similar already and = could share their experience. =20 Raising events in COM/C++ does not seem very easy to achieve, = particularly when raising events on a different thread (even more = difficult as I haven't got much experience of COM/C++ development). I = am not too sure either whether a COM DLL or COM EXE would be best. =20 Regarding the threading, does anyone know how many threads quickFIX uses = and which one it uses for calls to the FIX::Application and = FIX::MessageCracker methods? =20 I would be glad to hear other approaches to interface the C++ quickFIX = wrapper and Visual Basic. =20 Thanks Jose _______________________________________________ Visit our website at http://www.dbfs.co.uk This email may contain confidential information, if you are not the = intended recipient for this email, please contact ad...@db.... This email has been scanned for viruses using BitDefender v1.6 for = exchange, and Norton anti-virus software. DBFS have taken all = reasonable steps to ensure this email and/or its attachments are = virus-free, but the recipient should verify the contents are safe before = use. |