Re: [Quickfix-developers] Testing QuickFix with NUnit
Brought to you by:
orenmnero
From: Jeff <jhe...@gm...> - 2008-03-05 19:04:27
|
Anyone have any insight on this problem? Thanks, Jeff On Thu, Feb 28, 2008 at 11:00 AM, Jeff <jhe...@gm...> wrote: > > More information on this: > > This happens after calling SocketInitiator.Start() > > I do receive the onCreate() callback in my .NET class > > And I tried something else, because of this error (specifically the " > Log.onEvent"): > > ----snip---- > > at System.Runtime.InteropServices.GCHandle.InternalCheckDomain(Int32 > > handle) > > at System.Runtime.InteropServices.GCHandle.op_Explicit(IntPtr value) > > at Log.onEvent(Log*, > > basic_string<char,std::char_traits<char>,std::allocator<char> >* string) > > ----snip---- > > > I thought I'd try it creating the class without the LogFactory. That > resulted in a different error: > > ----snip---- > at System.Runtime.InteropServices.GCHandle.InternalCheckDomain(Int32 > handle) > at System.Runtime.InteropServices.GCHandle.op_Explicit(IntPtr value) > at gcroot<QuickFix::MessageStore __gc *>.->(gcroot<QuickFix::MessageStore > __gc *>* ) > at MessageStore.getCreationTime(MessageStore*, UtcTimeStamp* ) > ----snip---- > > So it appears to be a problem with the Store and Log factories. I don't > believe there is a way to create the Initiator without a Store Factory, but > if there is - please let me know and I'll try it without that and see if I > can get any further. > |