Re: [Quickfix-developers] 1.9.3 DotNet Build error
Brought to you by:
orenmnero
From: Oren M. <or...@qu...> - 2004-11-15 03:07:44
|
In .NET these are static const members of the field class. For example: new Side( Side.SELL_SHORT ) Take a look at the C# implementation of Executor for examples. --oren On Nov 14, 2004, at 11:46 AM, Howard Engelhart wrote: > > I put a nice little application together using C# and have been=20 > impressed at how well it integrates.=A0 One thing I had trouble with = is=20 > accessing the enummerated tag values from the FIX::FIELD enum defined=20= > in FieldNumbers.h .=A0 Are these exposed as an enum via the dot net=20 > wrappers?=A0 What would be the easiest way to get the constant integer=20= > value of a fix field/tag number? > =A0 > Thanks, > =A0 > -H > > > > This e-mail and/or its attachments may contain confidential and/or=20 > privileged information. =A0If you are not the intended recipient(s) or=20= > have received this e-mail in error, please notify the sender=20 > immediately and=A0delete this e-mail and its attachments from your=20 > computer and files.=A0 Any unauthorized copying, disclosure or=20 > distribution of the material=A0contained herein is strictly = forbidden.=A0=20 > Pipeline Trading Systems, LLC - Member NASD & SIPC. > From: Oren Miller [mailto:or...@qu...] > Sent: Sun 11/14/2004 12:27 PM > To: Howard Engelhart > Cc: qui...@li... > Subject: Re: [Quickfix-developers] 1.9.3 DotNet Build error > > > My oh my.=A0 This will certainly boost the performance of the NET > library. > > --oren > > On Nov 14, 2004, at 5:50 AM, Howard Engelhart wrote: > > > > > I modified the line (# 148 in Application.h) as you recommended and > > that allowed the build to proceed.=A0 However there was one = additional > > error. > > =A0 > > The build process failed to link the quickfix_net assembly to > > quickfix.lib. The Release Configuration of the quickfix_net project, > > Linker -> General section, the "Additional Library Directories" > > setting points towards "..\..\lib\debug" it should be "..\..\lib\". > > =A0 > > My guess is that if you were building debug then release it would=20 > seem > > to work, however since I was building release only it failed. > > =A0 > > -H > > =A0 > > > > > > > > This e-mail and/or its attachments may contain confidential and/or > > privileged information. =A0If you are not the intended recipient(s) = or > > have received this e-mail in error, please notify the sender > > immediately and=A0delete this e-mail and its attachments from your > > computer and files.=A0 Any unauthorized copying, disclosure or > > distribution of the material=A0contained herein is strictly = forbidden.=A0 > > Pipeline Trading Systems, LLC - Member NASD & SIPC. > > From: Oren Miller [mailto:or...@qu...] > > Sent: Thu 11/11/2004 11:39 AM > > To: Howard Engelhart > > Cc: qui...@li... > > Subject: Re: [Quickfix-developers] 1.9.3 DotNet Build error > > > > > > Hmm, it's building fine for us, but perhaps your version of Visual > > Studio is reacting differently.=A0 Looking at it I don't think the=20= > __pin > > should be part of the return type for that method.=A0 I would try > > changing the line in Application.h as follow: > > > > QuickFix::Message __pin * create( const FIX::Message& unmanaged ) > > > > to > > > > QuickFix::Message* create( const FIX::Message& unmanaged ) > > > > Please report back if this fixes your problem so we can apply it to=20= > the > > code base. > > > > --oren > > > > On Nov 11, 2004, at 7:45 AM, Howard Engelhart wrote: > > > > > > > > I am unable to compile version 1.9.3 in net BuildLog attached. > > > > > > =A0 > > > > > > =A0 > > > > > > ------ Rebuild All started: Project: quickfix_net, Configuration: > > > Release Win32 ------ > > > > > > =A0 > > > > > > Deleting intermediate files and output files for project > > > 'quickfix_net', configuration 'Release|Win32'. > > > > > > Compiling... > > > > > > Stdafx.cpp > > > > > > Compiling... > > > > > > quickfix_net.cpp > > > > > > c:\usr\local\src\quickfix.1.9.3\src\.NET\Application.h(149) : = error > > > C3824: 'create': only non-static local pointers may be declared as > > > pinned > > > > > > Session.cpp > > > > > > ScreenLog.cpp > > > > > > =A0 > > > > > > =A0 > > > > > > Full Build Log: > > > > > > =A0 > > > > > > Build Log=A0=A0 ------- Build started: Project: quickfix_net, > > > Configuration: Release|Win32 ------- > > > > > > =A0 > > > > > > Command Lines=A0=A0 Creating temporary file > > > "c:\usr\local\src\quickfix.1.9.3\src\.net\Release\RSP000004.rsp"=20= > with > > > contents > > > > > > [ > > > > > > /O2 /I "..\..\include\\" /AI "..\..\lib" /D "WIN32" /D "NDEBUG" /D > > > "_WINDLL" /D "_MBCS" /FD /EHsc /MD /GR /Fo"Release/" > > > /Fd"Release/vc70.pdb" /W2 /c /clr /TP > > > > > > \quickfix_net.cpp > > > > > > .\Session.cpp > > > > > > \ScreenLog.cpp > > > > > > \MySQLMessageStore.cpp > > > > > > \MySQLLog.cpp > > > > > > \MessageStoreFactory.cpp > > > > > > \MessageStore.cpp > > > > > > .\Message.cpp > > > > > > \MemoryMessageStore.cpp > > > > > > .\Group.cpp > > > > > > \FileMessageStore.cpp > > > > > > \FileLog.cpp > > > > > > \Fields.cpp > > > > > > \CPPMessageStore.cpp > > > > > > \AssemblyInfo.cpp > > > > > > ] > > > > > > Creating command line "cl.exe > > > @c:\usr\local\src\quickfix.1.9.3\src\.net\Release\RSP000004.rsp > > > /nologo" > > > > > > Creating temporary file > > > "c:\usr\local\src\quickfix.1.9.3\src\.net\Release\RSP000005.rsp"=20= > with > > > contents > > > > > > [ > > > > > > /O2 /I "..\..\include\\" /AI "..\..\lib" /D "WIN32" /D "NDEBUG" /D > > > "_WINDLL" /D "_MBCS" /FD /EHsc /MD /GR /Yc"stdafx.h" > > > /Fp"Release/quickfix_net.pch" /Fo"Release/" /Fd"Release/vc70.pdb"=20= > /W2 > > > /c /clr /TP > > > > > > \Stdafx.cpp > > > > > > ] > > > > > > Creating command line "cl.exe > > > @c:\usr\local\src\quickfix.1.9.3\src\.net\Release\RSP000005.rsp > > > /nologo" > > > > > > Output Window=A0=A0 Compiling... > > > > > > Stdafx.cpp > > > > > > Compiling... > > > > > > quickfix_net.cpp > > > > > > c:\usr\local\src\quickfix.1.9.3\src\.NET\Application.h(149) : = error > > > C3824: 'create': only non-static local pointers may be declared as > > > pinned > > > > > > Session.cpp > > > > > > ScreenLog.cpp > > > > > > MySQLMessageStore.cpp > > > > > > MySQLLog.cpp > > > > > > MessageStoreFactory.cpp > > > > > > MessageStore.cpp > > > > > > Message.cpp > > > > > > MemoryMessageStore.cpp > > > > > > Group.cpp > > > > > > FileMessageStore.cpp > > > > > > FileLog.cpp > > > > > > Fields.cpp > > > > > > CPPMessageStore.cpp > > > > > > AssemblyInfo.cpp > > > > > > Generating Code... > > > > > > Results=A0=A0 Build log was saved at > > > > >=20 > "file://c:\usr\local\src\quickfix.1.9.3\src\.net\Release\BuildLog.htm" > > > > > > quickfix_net - 1 error(s), 0 warning(s) > > > > > > > > > This e-mail and/or its attachments may contain confidential and/or > > > privileged information. =A0If you are not the intended = recipient(s)=20 > or > > > have received this e-mail in error, please notify the sender > > > immediately and=A0delete this e-mail and its attachments from your > > > computer and files.=A0 Any unauthorized copying, disclosure or > > > distribution of the material=A0contained herein is strictly=20 > forbidden.=A0 > > > Pipeline Trading Systems, LLC - Member NASD & SIPC. <BuildLog.htm> > |