RE: [Quickfix-developers] compile error
Brought to you by:
orenmnero
From: Ramprakash U. <ram...@ca...> - 2004-08-06 08:28:05
|
I have also come across the same problem and still the line contains the code msg.getField(field) in my project shows grilled lines. But I could = able to build my project. If you are not able to build, may be log off or = restart will make you to pass through. I don't remember exactly how it got = solved but it works for me eventhough VS.NET shows grilled lines. --Ram -----Original Message----- From: qui...@li... [mailto:qui...@li...] On Behalf Of = Oren Miller Sent: venerd=EC 6 agosto 2004 01:10 To: Peter Imhof Cc: qui...@li... Subject: Re: [Quickfix-developers] compile error QuickFIX Documentation: http://www.quickfixengine.org/quickfix/doc/html/index.html QuickFIX FAQ: http://www.quickfixengine.org/quickfix/doc/html/FAQ.html QuickFIX Support: http://www.quickfixengine.org/services.html Yeah, it's a strange thing. This problem doesn't show up in C# or=20 managed C++, only VB.NET. What's even stranger is that=20 msg.getHeader().getField(field) works just fine. I've played around a=20 little bit and have come up with a very ugly work around, but I'm going=20 to see if I can find the root cause of this. You are doing the right=20 thing, I think the VB.NET compiler is not. Hopefully I'll find a true=20 resolution, but I will make some sort of workaround available=20 regardless. --oren On Aug 5, 2004, at 4:26 PM, Peter Imhof wrote: > QuickFIX Documentation: > http://www.quickfixengine.org/quickfix/doc/html/index.html > QuickFIX FAQ: http://www.quickfixengine.org/quickfix/doc/html/FAQ.html > QuickFIX Support: http://www.quickfixengine.org/services.html > > hi > > In the fromApp(), when I try to get a Field with > message.getField(field) I'm receiving the Compile Error (MS Devstudio=20 > 7.0 vb.net): > > "getField has a return type that is not supported or parameter types > that are not supported" > > <snip> > Public Sub fromApp(ByVal msg As QuickFix.Message, ByVal sid As > QuickFix.SessionID) Implements QuickFix.Application.fromApp > Dim field As New Symbol > > msg.getField(field) > End Sub > </snip> > > The error occurs with any value (msg.getField(55), whatever ). But, on = > the other hand a msg.getGroup(convert.ToUInt32(1), group) works fine.=20 > I can't guess what Im doing wrong here... > > any hint & regards > Peter > > > > ------------------------------------------------------- > This SF.Net email is sponsored by OSTG. Have you noticed the changes=20 > on Linux.com, ITManagersJournal and NewsForge in the past few weeks?=20 > Now, one more big change to announce. We are now OSTG- Open Source=20 > Technology Group. Come see the changes on the new OSTG site.=20 > www.ostg.com _______________________________________________ > Quickfix-developers mailing list > Qui...@li... > https://lists.sourceforge.net/lists/listinfo/quickfix-developers > ------------------------------------------------------- This SF.Net email is sponsored by OSTG. Have you noticed the changes on Linux.com, ITManagersJournal and NewsForge in the past few weeks? Now, = one more big change to announce. We are now OSTG- Open Source Technology = Group. Come see the changes on the new OSTG site. www.ostg.com _______________________________________________ Quickfix-developers mailing list = Qui...@li... https://lists.sourceforge.net/lists/listinfo/quickfix-developers |