Problem with R6025 - Pure Virtual Function Call

105 views
Skip to first unread message

Processor-Dev1l

unread,
May 11, 2012, 12:07:51 PM5/11/12
to dotnetde...@googlegroups.com
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?

Chuck

unread,
May 15, 2012, 12:21:29 AM5/15/12
to dotnetde...@googlegroups.com
Not familiar with using coms, and would almost rather see code, but can't you wrap this with a try/catch block?

Adrian Bastyr

unread,
May 15, 2012, 6:58:20 AM5/15/12
to dotnetde...@googlegroups.com
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.P...@gmail.com>
--
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 dotnetde...@googlegroups.com
To unsubscribe from this group, send email to
dotnetdevelopm...@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

munno

unread,
May 21, 2012, 3:16:40 AM5/21/12
to DotNetDevelopment, VB.NET, C# .NET, ADO.NET, ASP.NET, XML, XML Web Services,.NET Remoting
R6025 is weird...
you can use an adhoc application / service running in background which
can make your application running / restart if closed.. :)
this is what I am doing always whenever this type of problem occurs

On May 11, 12:07 pm, Processor-Dev1l <processor.de...@gmail.com>
wrote:
Reply all
Reply to author
Forward
0 new messages