Re: [Quickfix-developers] QuickFix in VB6 app
Brought to you by:
orenmnero
From: Diego F. <die...@gm...> - 2010-03-08 16:19:06
|
Try marking the assemblies of QuickFix/NET as COM Visible and make some tests. That shouldn't be hard. Maybe it will be necessary to add some attributes to the classes and members, but you will know what to do once the errors start to show up. If you have any doubts, please send me an e-mail, I've made lots of works with COM and .NET. Diego Frata die...@gm... On Mon, Mar 8, 2010 at 12:09 PM, <or...@qu...> wrote: > QuickFIX Documentation: > http://www.quickfixengine.org/quickfix/doc/html/index.html > QuickFIX Support: http://www.quickfixengine.org/services.html > > My knowledge on VB6 is very limited, so maybe someone with more > knowledge can chime in with more details. My understanding is that in > order for VB6 to interop with C++ you need to have a DLL. Currently > QuickFIX under windows is only built as a static library (though it is > possible someone has produced a DLL, I'm not aware of it). So as it > stands I don't think interfacing directly with the C++ library is an > option for you. > > The .NET->COM bridge sounds like a more viable option to me. > > --oren > > > -------- Original Message -------- > > Subject: [Quickfix-developers] QuickFix in VB6 app > > From: Daniel Tao <dan...@gm...> > > Date: Mon, March 08, 2010 8:55 am > > To: qui...@li... > > > > > > QuickFIX Documentation: > http://www.quickfixengine.org/quickfix/doc/html/index.html > > QuickFIX Support: http://www.quickfixengine.org/services.html<hr>Hi, > > > > I am doing some freelance work for a firm that is interested in > leveraging > > the QuickFix engine in their trading application written in VB6. > Basically, > > since QuickFix does not have a VB6 API, I'm wondering what the best way > is > > (or anyway, the way you'd recommend) to mesh these two technologies. My > > initial thought was to write a small .NET app in either C# or VB.NET to > > operate as the "middle-man" of sorts, and to interface with the .NET app > in > > VB6 via COM. But perhaps it would make more sense to attempt to interop > > directly with the QuickFix C++ API in this way? Or is that not possible? > > > > My experience is mainly in .NET, so if rewriting the application in .NET > is > > the only realistic approach, that is an option (the app is quite > small--only > > a handful of source code files). > > > > It's probably obvious from this question that I am lacking a significant > > amount of knowledge here. A nudge in the right direction, at least, would > be > > most welcome. > > > > Thanks, > > > Dan<hr>------------------------------------------------------------------------------ > > Download Intel® Parallel Studio Eval > > Try the new software tools for yourself. Speed compiling, find bugs > > proactively, and fine-tune applications for parallel performance. > > See why Intel Parallel Studio got high marks during beta. > > http://p.sf.net/sfu/intel-sw-dev > <hr>_______________________________________________ > > Quickfix-developers mailing list > > Qui...@li... > > https://lists.sourceforge.net/lists/listinfo/quickfix-developers > > > > ------------------------------------------------------------------------------ > Download Intel® Parallel Studio Eval > Try the new software tools for yourself. Speed compiling, find bugs > proactively, and fine-tune applications for parallel performance. > See why Intel Parallel Studio got high marks during beta. > http://p.sf.net/sfu/intel-sw-dev > _______________________________________________ > Quickfix-developers mailing list > Qui...@li... > https://lists.sourceforge.net/lists/listinfo/quickfix-developers > |