Re: [Quickfix-developers] Attempted to read or write protected memory.
Brought to you by:
orenmnero
From: Bristotti, F. <fer...@cr...> - 2009-05-08 21:16:19
|
This error happens when you try call a method after you have called Dispose() on a message. Example: void QuickFix.Application.fromAdmin(QuickFix.Message message, QuickFix.SessionID session) { message.Dispose(); message.getHeader().getString(QuickFix.TargetCompID.FIELD); // Error!! } Regards. Bristotti -----Original Message----- From: arielsrv [mailto:ari...@gm...] Sent: Friday, May 08, 2009 4:00 PM To: qui...@li... Subject: [Quickfix-developers] Attempted to read or write protected memory. QuickFIX Documentation: http://www.quickfixengine.org/quickfix/doc/html/index.html QuickFIX Support: http://www.quickfixengine.org/services.html Hi, I'm Ariel from Argentina and have next error. The design is in C#. This error is 1 or 2 times per day I have not found solution for this error. Regards. Extended message: Attempted to read or write protected memory. This is often an indication that other memory is corrupt. Stack trace: at FIX.Message.toString(Message* , basic_string<char\,std::char_traits<char>\,std::allocator<char> >* , Int32 , Int32 , Int32 ) at QuickFix.Message.ToString() at QuickFix.Message.getHeader() -- View this message in context: http://www.nabble.com/Attempted-to-read-or-write-protected-memory.-tp234 51721p23451721.html Sent from the QuickFIX - Dev mailing list archive at Nabble.com. ------------------------------------------------------------------------ ------ The NEW KODAK i700 Series Scanners deliver under ANY circumstances! Your production scanning environment may not be a perfect world - but thanks to Kodak, there's a perfect scanner to get the job done! With the NEW KODAK i700 Series Scanner you'll get full speed at 300 dpi even with all image processing features enabled. http://p.sf.net/sfu/kodak-com _______________________________________________ Quickfix-developers mailing list Qui...@li... https://lists.sourceforge.net/lists/listinfo/quickfix-developers =============================================================================== Please access the attached hyperlink for an important electronic communications disclaimer: http://www.credit-suisse.com/legal/en/disclaimer_email_ib.html =============================================================================== |