Hi: Often when I open a PDF I get a Virtual error and the program closes so
I cant read the document.

Doing a little ggogling I found it is a problem with a bad call to a c++
Virtual Method.

I see where HAL screen reader has encountered it and I get it with
Windoweyes. Evidently someone is trying to directly call a virtual
methodwhich is not valid.

Here is the blurb I pulledfrom MS to help try and nail down the problem for
GW staff:

I don't recall the exact message number but it was in this group if I
remember.

If you GW guys need it I can ReRun the offending pdf and get it for some
more specific work but I am guessing you may already be aware of this
problem

. From MSDN

VSYMPTOMS

The C++ program fails and reports the following run-time

error:

runtime error R6025

- pure virtual function

call

Back to the top

|

Give Feedback

Collapse image

CAUSE

This error occurs when your application indirectly calls a

pure virtual member function in a context where a call to the function is
not

valid. In most cases, the compiler detects this and reports the error when

building the application. But depending on how your code is written,
sometimes

the problem is detected only at run-time.

The error occurs when you

indirectly call a pure virtual function within the context of a call to the

constructor or destructor of an abstract base class. This is illustrated in
the

sample code below, along with some more description.

Back to the top

|

Give Feedback

Collapse image

RESOLUTION

Calling a pure virtual function is a programming error, so

you need to find the call to the pure virtual function and rewrite the code
so

it is not called.

One way to find a call to a pure virtual function

is to replace the pure virtual function with an implementation that calls
the

Windows API function

DebugBreak. When using the debugger, DebugBreak

will

cause a hard-coded breakpoint. When the code stops running at this
breakpoint,

you can view the callstack to see where the function was called.

Another way to find a call to a pure virtual function is to set a breakpoint
on the

_purecall

function that is found in PureVirt.c. Breaking on this function has the
advantage

of keeping the stack intact so that you can trace what is occurring.

Back to the top

|

Give Feedback

Collapse image

STATUS

This behavior is by

design.

Back to the top

|

Give Feedback

-------------- next part --------------
An HTML attachment was scrubbed...
URL: 
<http://lists.window-eyes.com/pipermail/talk-window-eyes.com/attachments/20150212/14775a90/attachment.htm>
_______________________________________________
Any views or opinions presented in this email are solely those of the author 
and do not necessarily represent those of Ai Squared.

For membership options, visit 
http://lists.window-eyes.com/options.cgi/talk-window-eyes.com/archive%40mail-archive.com.
For subscription options, visit 
http://lists.window-eyes.com/listinfo.cgi/talk-window-eyes.com
List archives can be found at 
http://lists.window-eyes.com/private.cgi/talk-window-eyes.com

Reply via email to