locked
Crystal Reports and "Runtime Pure virtual function call R6025" RRS feed

  • Question

  • We have a program that generates crystal report every 2 seconds.
    It works OK until I switched to a program (eg. Notepad) which windowstate is maximized.
    The error pops a messagebox "Runtime Pure virtual function call R6025".
    I tried it again and this time switched to MS Word (windowstate is maximized).  It got the same error.
    Afterwards, I tried changing Notepad's windowstate to normal window.
    I run the program again and tried swithching to Notepad.  No error occured.

    I also noticed that the error only pops-up when I insert the code that closes the instance of crystal report:

    Code Block

    Dim CR as New CrytalReport1
    CR.SetDataSource(Dataset1)
    Form1.CrystalReportViewer1.ReportSource = CR
    Form1.Show()
    CR.Close



    If I'm going to remove the "CR.Close" code, then it'll pop "Load Report Fail" error after it reached 75 output.

    We cannot trap this error.  Looking for your assistance.

    Thanks in advance.
    Tuesday, November 20, 2007 10:05 AM

All replies

  • Follow-up Smile
    Tuesday, November 27, 2007 1:01 AM
  • I am also getting the same issue , I am using Crystal report 11 Release 2 and visual studio 2005 .
    Sunday, February 1, 2009 11:15 AM
  • I am also facing the same problem.. in vs2008 at the time of printing report. sometimes it works fine some time it generate this error..
    Friday, May 6, 2011 5:54 AM
  • I am also getting the same problem in vs2008

     

    Friday, May 6, 2011 5:56 AM
  • Hello,

    I'm training this week so I don't have time to test right now but what happens if you close and dispose the data set also? Or can you?

    What OS are you using and 32 or 64 bit?

    Is your app running in 32 or 64 bit mode?

    Can you duplicate the issue in both debug and release mode?

    What patch level of CR are you on?

    Default printer installed?

    Screen resolution?

    All, Please answer each question.

    Don


    Don Williams
    Friday, May 6, 2011 12:57 PM
  • Hi D,

    See your other Post. You could have added this info to that post so I'll mark this one to be closed.

    See this post for more info and to add comments etc.

    Don


    Don Williams
    • Proposed as answer by SAPDon Friday, May 6, 2011 1:06 PM
    • Proposed as answer by SAPDon Friday, July 22, 2011 8:27 PM
    Friday, May 6, 2011 1:05 PM