[Home]  [Edit this page]  [Recent Changes]  [Special Pages]  [Help
External exception EEFFACE

(CppBuilder compile error) External exception EEFFACE

Hypothesis #1

This looks like a nasty C++ Builder-specific error, but is not. It is an exception caused by the at method of a std::vector:

  std::vector<std::vector<double> > test;
  const int height = 10;
  const int width = 5;
  test.resize(height); //Height == 10 ? //NO! NOW THE WIDTH OF THE VECTOR IS SET TO 10
  for (int i=0; i!=height; ++i)
  {
    test[i].resize(width); //Width == 5 ? //NO! NOW THE HEIGHT OF THE VECTOR IS SET TO 5
  }
  test.at(4).at(9)=0.0; //ERROR: OUT OF RANGE, as size equals 5x9!
  test.at(9).at(4)=0.0; //NOT OUT OF RANGE


Hypothesis #2

From the DTS Knowledgebase:

Modify the  ?Registry:

  • Start REGEDIT.EXE
  • Open HKEY_LOCAL_MACHINE\Software\Microsoft\Windows NT\Currentversion\Image file execution options
  • Create a new key for your application, e.g. 'Project1.exe'
  • Create a new value: Value Name: DisableHeapLookAside. Data Type: REG_SZ

External links



last edited (July 3, 2007) by bilderbikkel, Number of views: 2443, Current Rev: 3 (Diff)

[Edit this page]  [Page history]  [What links here]  [Discuss this topic]  [Printer Friendly]  

Members

Username:

Password:


Register
Forgot Password?




Programmers Heaven - for .NET, Java, C/C++ and WEB Developers!
© 1996-2008 Community Networks Ltd. All rights reserved. Reproduction in whole or in part, in any form or medium without express written permission is prohibited. Violators of this policy may be subject to legal action. Please read Terms Of Use and Privacy Statement for more information. Development by Tore Nestenius at .NET Consultant - Synchron Data.