It's a big framework using this API, so showing code would sting a little. There isn't any part of the code without try/catch block, problem is this error is COM related and doesn't derive Exception class to be handles using try/catch. It's problem caused by company distributing this API, but my company doesn't care whose fault it is, it is my responsibility to make the application fully reliable as soon as possible.
2012/5/15 Chuck <charles.pierrot...@gmail.com> > Not familiar with using coms, and would almost rather see code, but can't > you wrap this with a try/catch block? > > > On Friday, May 11, 2012 11:07:51 AM UTC-5, Processor-Dev1l wrote: >> >> So, to put story short, I have a C# application that uses some COM API to >> connect to remote server. >> Problem is that in some instance when the remote server is down, >> application throws >> R6025 - Pure Virtual Function Call >> >> I made my research, I know what this means but I didn't find suitable >> solution. I don't really care about the error, my concern is that when this >> happens, application crashes (even when exceptions are set). >> >> So, is there any way how to keep the application going even when this >> problem arrives? >> > -- > You received this message because you are subscribed to the Google > Groups "DotNetDevelopment, VB.NET, C# .NET, ADO.NET, ASP.NET, XML, XML > Web Services,.NET Remoting" group. > To post to this group, send email to dotnetdevelopment@googlegroups.com > To unsubscribe from this group, send email to > dotnetdevelopment+unsubscr...@googlegroups.com > For more options, visit this group at > http://groups.google.com/group/dotnetdevelopment?hl=en?hl=en > or visit the group website at http://megasolutions.net > -- You received this message because you are subscribed to the Google Groups "DotNetDevelopment, VB.NET, C# .NET, ADO.NET, ASP.NET, XML, XML Web Services,.NET Remoting" group. To post to this group, send email to dotnetdevelopment@googlegroups.com To unsubscribe from this group, send email to dotnetdevelopment+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/dotnetdevelopment?hl=en?hl=en or visit the group website at http://megasolutions.net