Results 1 to 7 of 7

Thread: BI.exe runtime error! Please help!

  1. #1

    Default BI.exe runtime error! Please help!

    Hello, I was playing a Lusotana campaign today and at about 250 BC the game crashed. A popup came up saying that there was a runtime error with BI.exe (I have the BI.exe mod) and below it the popup said:

    R6025

    -pure virtual function call

    Anyone know what this is and how I can fix it?

  2. #2
    The Rhetorician Member Skullheadhq's Avatar
    Join Date
    Apr 2008
    Location
    Antioch
    Posts
    2,267

    Default Re: BI.exe runtime error! Please help!

    From Microsoft Support:
    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.
    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.
    "When the candles are out all women are fair."
    -Plutarch, Coniugia Praecepta 46

  3. #3
    EB Support Guy Senior Member XSamatan's Avatar
    Join Date
    Mar 2008
    Posts
    1,820

    Default Re: BI.exe runtime error! Please help!

    Just for my interest:

    Is that repeatable?

    XSamatan

    1.2 fixes - Updated regularly. Latest news from 2009-02-01.
    EB FAQ --- Tech help important thread list --- Frequent issues and solutions

  4. #4

    Default Re: BI.exe runtime error! Please help!

    Thanks, at least I know it's not something I did. Sadly I don't know anything about programming so I can't fix it.

  5. #5
    EB Support Guy Senior Member XSamatan's Avatar
    Join Date
    Mar 2008
    Posts
    1,820

    Default Re: BI.exe runtime error! Please help!

    I think you should try a new installation. Changing the source-code of the BI executable would not only be arduous but also not legal. If this happened just one, I would forget it. If it is repeatable, even after a reinstall, check your PC for virus or windows problems.

    XSamatan

    1.2 fixes - Updated regularly. Latest news from 2009-02-01.
    EB FAQ --- Tech help important thread list --- Frequent issues and solutions

  6. #6

    Unhappy Re: BI.exe runtime error! Please help!

    hey samartan i seem to have the same problem when capturing SPQR and realized that many others have the same bug. ive captured SPQR before with same CD on my last laptop with win vista but now using win7 with new one. ive reinstalled the game with no results. any suggestions?

  7. #7
    EB Support Guy Senior Member XSamatan's Avatar
    Join Date
    Mar 2008
    Posts
    1,820

    Default Re: BI.exe runtime error! Please help!

    Welcome to the forum!

    Please re-write your post so that I can understand your problem properly...does BI crash repeatable? When exactly does the crash occur? Check this list about technical problems first and see if any advice solves your problem.

    XSamatan

    1.2 fixes - Updated regularly. Latest news from 2009-02-01.
    EB FAQ --- Tech help important thread list --- Frequent issues and solutions

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Single Sign On provided by vBSSO