[python-win32] Getting Error "Pure Virtual Function Call R6025" Error

Mark Hammond mhammond at skippinet.com.au
Wed Oct 3 08:29:46 CEST 2012


[Please keep python-win32 in the CC list]

On 3/10/2012 4:26 PM, vamsi krishna wrote:
> Hi Mark,
>
> Thank you for the reply. Please let me know what kind of information
> is useful in this context and I'm ready to provide the information.
> At first I thought of assuming the same i.e. problem with HP QTP COM
> libraries. But the question which is haunting me is this code
> perfectly worked for almost one month and suddenly started creating
> this problem. Still some times this code is working fine.

But that doesn't point a finger in any specific direction either :(

Probably what we need to know is the stack when this happens, but that 
is probably very hard to grab without MSVC or possibly one of the 
sysinternals tools...

Cheers,

Mark
>
> Best Regards,
> Vamsi.
>
>
> On Fri, Sep 28, 2012 at 5:52 AM, Mark Hammond <skippy.hammond at gmail.com> wrote:
>> I'm afraid there isn't enough information provided here for us to help.  At
>> face value, it sounds like a problem in the HP QTP COM libraries.
>>
>> Mark
>>
>>
>> On 25/09/2012 2:14 PM, vamsi krishna wrote:
>>>
>>> Hi,
>>>
>>> Running on Windows 2003 Server X64,Python 2.5 (32-bit)
>>>
>>>    I am having problems using win32com.client with the HP QTP COM
>>> libraries. I'm trying to launch QTP from python by following code:
>>>
>>> import  win32com.client
>>>
>>> qtp = win32com.client.Dispatch("QuickTest.Application")
>>> # starts up QTP
>>> qtp.Launch()
>>> qtp.Visible = False
>>> time.sleep(30)
>>> qtp.quit()
>>>
>>> At first it starts working without any glitches. but currently it is
>>> always raising windows c++ error saying "pure virtual function call
>>> R6025".
>>>
>>> Please provide information on how to tackle this issue.
>>>
>>>
>>> Regards,
>>> Vamsi.
>>> _______________________________________________
>>> python-win32 mailing list
>>> python-win32 at python.org
>>> http://mail.python.org/mailman/listinfo/python-win32
>>>
>>



More information about the python-win32 mailing list