1. RE: C Run-Time Error R6025
- Posted by "Bernard W. Ryan" <xotron at bluefrognet.net> Apr 06, 2004
- 586 views
Andy: Here is what that error means: ----------------------------------------- C Run-Time Error R6025 pure virtual function call No object has been instantiated to handle the pure virtual function call. This error is caused by calling a virtual function in an abstract base class through a pointer which is created by a cast to the type of the derived class, but is actually a pointer to the base class. This can occur when casting from a void* to a pointer to a class when the void* was created during the construction of the base class. Bernie
2. RE: C Run-Time Error R6025
- Posted by "Andy Drummond" <andy at kestreltele.com> Apr 09, 2004
- 593 views
This is a multi-part message in MIME format. ------=_NextPart_000_0007_01C41E33.D37AEAF0 charset="iso-8859-1" Bernie, I think I follow the reasoning, but it is gonan take some time to work out where on earth this is occurring. At least I now have a handle on what it means, even if I have no idea quite where to look for it!!! Thanks Andy: Here is what that error means: No object has been instantiated to handle the pure virtual function call. This error is caused by calling a virtual function in an abstract base class through a pointer which is created by a cast to the type of the derived class, but is actually a pointer to the base class. This can occur when casting from a void* to a pointer to a class when the void* was created during the construction of the base class. Bernie ------=_NextPart_000_0007_01C41E33.D37AEAF0 Content-Type: text/html; charset="iso-8859-1" Content-Transfer-Encoding: 8bit <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> <HTML><HEAD> <META http-equiv=Content-Type content="text/html; charset=iso-8859-1"> <META content="MSHTML 6.00.2800.1400" name=GENERATOR> <STYLE></STYLE> </HEAD> <BODY bgColor=#ffffff> <DIV><FONT face=Verdana size=1>Bernie,</FONT></DIV> <DIV><FONT face=Verdana size=1></FONT> </DIV> <DIV><FONT face=Verdana size=1>I think I follow the reasoning, but it is gonan take some time</FONT></DIV> <DIV><FONT face=Verdana size=1>to work out where on earth this is occurring. At least I now</FONT></DIV> <DIV><FONT face=Verdana size=1>have a handle on what it means, even if I have no idea quite</FONT></DIV> <DIV><FONT face=Verdana size=1>where to look for it!!!</FONT></DIV> <DIV><FONT face=Verdana size=1></FONT> </DIV> <DIV><FONT face=Verdana size=1>Thanks</FONT></DIV> <DIV><FONT face=Verdana size=1></FONT> </DIV> <DIV><FONT face=Verdana size=1></FONT> </DIV> <DIV><FONT face=Verdana size=1>Andy:<BR>Here is what that error means:<BR>-----------------------------------------<BR>C Run-Time Error R6025<BR>pure virtual function call<BR><BR>No object has been instantiated to handle the pure virtual function call.<BR><BR>This error is caused by calling a virtual function in an abstract base<BR>class through a pointer which is created by a cast to the type of the<BR>derived class, but is actually a pointer to the base class. This can<BR>occur when casting from a void* to a pointer to a class when the void*<BR>was created during the construction of the base ------=_NextPart_000_0007_01C41E33.D37AEAF0--