Re: [Quickfix-developers] compile error
Brought to you by:
orenmnero
From: Oren M. <or...@qu...> - 2004-08-05 23:10:26
|
Yeah, it's a strange thing. This problem doesn't show up in C# or managed C++, only VB.NET. What's even stranger is that msg.getHeader().getField(field) works just fine. I've played around a little bit and have come up with a very ugly work around, but I'm going to see if I can find the root cause of this. You are doing the right thing, I think the VB.NET compiler is not. Hopefully I'll find a true resolution, but I will make some sort of workaround available 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 > 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. 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 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 > |