[Quickfix-developers] Testing QuickFix with NUnit
Brought to you by:
orenmnero
From: Jeff <y2z...@sn...> - 2008-02-28 14:46:34
|
Hello Quickfix Developers, I know this issue has come up a few times in the past on this list, but there hasn't been a resolution posted yet. I am getting the following error when trying to unit test the QuickFix library using NUnit: ----snip---- An unhandled exception of type 'System.ArgumentException' occurred in mscorlib.dll Additional information: Cannot pass a GCHandle across app domains. ----snip---- More information is displayed on the NUnit test screen (just before it disappears due to the above crash): ----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---- Versions: NUnit: I've tried 2.2.2, 2.4.6 (latest), 2.4.7 (development) QuickFix: 1.12.4 VS: 2003 .NET: 1.1 Anyone have any ideas how this could be solved in order to use the NUnit test environment? Thanks! Jeff |