Thread: [Quickfix-developers] QF and /clr compile option on VS 9.0 (2008)
Brought to you by:
orenmnero
From: Rieunier, G. M <GMR...@st...> - 2009-04-16 07:59:45
|
I might have posted this message in the wrong forum, so reposting here... sorry for the duplication. I am building a small app using visual C++ 9.0 (2008) and would like to incorporate a FIX adapter to it. First, I am not sure if VS 9.0 is supported by QuickFIX? I have tried using the library designed for version 8, but I seem to be having some problem due to the /clr compile option: my application is a windows form application that requires this flag to be set (/clr), but this seems to be in conflict with QF (i.e. I tried creating a sample console application that seems to work when the CLR option is set to "No Common Language Runtime support"). A typical error message I get when building my app is: error LNK2022: metadata operation failed (8013118D) : Inconsistent layout information in duplicated types (std.logic_error): (0x02000019). MSVCMRT.lib I apologize in advance if this question sounds too basic ... I am a novice programmer. Many thanks for your help, Gus |
From: thiago <thi...@cm...> - 2009-04-16 12:29:06
|
Hi, You are going to try mixed a managed and unmanaged codes. to see this http://msdn.microsoft.com/en-us/library/x0w2664k.aspx ----- Original Message ----- From: Rieunier, Gustave M To: qui...@li... Sent: Thursday, April 16, 2009 4:59 AM Subject: [Quickfix-developers] QF and /clr compile option on VS 9.0 (2008) QuickFIX Documentation: http://www.quickfixengine.org/quickfix/doc/html/index.html QuickFIX Support: http://www.quickfixengine.org/services.html ------------------------------------------------------------------------------ I might have posted this message in the wrong forum, so reposting here. sorry for the duplication. I am building a small app using visual C++ 9.0 (2008) and would like to incorporate a FIX adapter to it. First, I am not sure if VS 9.0 is supported by QuickFIX? I have tried using the library designed for version 8, but I seem to be having some problem due to the /clr compile option: my application is a windows form application that requires this flag to be set (/clr), but this seems to be in conflict with QF (i.e. I tried creating a sample console application that seems to work when the CLR option is set to "No Common Language Runtime support"). A typical error message I get when building my app is: error LNK2022: metadata operation failed (8013118D) : Inconsistent layout information in duplicated types (std.logic_error): (0x02000019). MSVCMRT.lib I apologize in advance if this question sounds too basic . I am a novice programmer. Many thanks for your help, Gus ------------------------------------------------------------------------------ ------------------------------------------------------------------------------ Stay on top of everything new and different, both inside and around Java (TM) technology - register by April 22, and save $200 on the JavaOne (SM) conference, June 2-5, 2009, San Francisco. 300 plus technical and hands-on sessions. Register today. Use priority code J9JMT32. http://p.sf.net/sfu/p ------------------------------------------------------------------------------ _______________________________________________ Quickfix-developers mailing list Qui...@li... https://lists.sourceforge.net/lists/listinfo/quickfix-developers |
From: Malinka R. <ael...@gm...> - 2009-04-16 18:11:06
|
On Thu, Apr 16, 2009 at 03:59, Rieunier, Gustave M > > I am building a small app using visual C++ 9.0 (2008) and would like to incorporate a FIX adapter to it. > > > First, I am not sure if VS 9.0 is supported by QuickFIX? > All I can say is try it and see > I have tried using the library designed for version 8, but I seem to be having some problem due to the /clr compile option: my application is a windows form application that requires this flag to be set (/clr), but this seems to be in conflict with QF (i.e. I tried creating a sample console application that seems to work when the CLR option is set to “No Common Language Runtime support”). > > First of all you don't need /clr for gui's /clr is .NET and if you are using .NET then you probably want to use the .NET QF it might be labeled as C# because it uses C# for the messagees, however it is mostly just managed C++ which is what you are writing > > A typical error message I get when building my app is: error LNK2022: metadata operation failed (8013118D) : Inconsistent layout information in duplicated types (std.logic_error): (0x02000019). MSVCMRT.lib > Not sure on this exact error but it sounds like what I said above where it's just a simple matter of you trying to mix C++ and Managed C++ > > I apologize in advance if this question sounds too basic … I am a novice programmer. > We all had to find out somehow, and I can say from personal expierience trial and error sucks > > Many thanks for your help, > > > > Gus > > > > ------------------------------------------------------------------------------ > Stay on top of everything new and different, both inside and > around Java (TM) technology - register by April 22, and save > $200 on the JavaOne (SM) conference, June 2-5, 2009, San Francisco. > 300 plus technical and hands-on sessions. Register today. > Use priority code J9JMT32. http://p.sf.net/sfu/p > _______________________________________________ > Quickfix-developers mailing list > Qui...@li... > https://lists.sourceforge.net/lists/listinfo/quickfix-developers > |