[Quickfix-developers] RES: Errors on Application shutdown
Brought to you by:
orenmnero
|
From: Alex <al...@ec...> - 2006-09-13 19:02:06
|
Same here.
--
Alex Araujo
Banif Banco de Investimento
________________________________
De: qui...@li...
[mailto:qui...@li...] Em nome de John
Haldi
Enviada em: Wednesday, September 13, 2006 3:46 PM
Para: qui...@li...
Assunto: [Quickfix-developers] Errors on Application shutdown
I'm testing the new binary distribution of QuickFIX
(quickfix-bin-vs8-1.12.3.zip) and have encountered the following error when
attempting to shut down my application (which worked without problems with
the version 1.12.1):
Message: "Object reference not set to an instance of an object"
Source: "quickfix_net"
StackTrace:
at QuickFix.CPPLog.onEvent(String s)
at Log.onEvent(Log* ,
basic_string<char\,std::char_traits<char>\,std::allocator<char> >* string)
at QuickFix.SocketInitiator.Finalize()
The only code in my Form.Disposed event is as follows:
Private Sub Form1_Disposed(ByVal sender As Object, ByVal e As
System.EventArgs) Handles Me.Disposed
Try
sw.Close()
Catch ex As Global.QuickFix.RuntimeError
MsgBox(ex.Message)
End Try
End Sub
'sw' is simply a StreamWriter I use for writing out an application log, and
it isn't failing on this line.
Any thoughts on what could be causing this, or how I can handle it more
gracefully?
Thanks,
John
|