سؤال

Here is the problem I've met:

Working in BDS 2006 IDE, my older computer gone, new ( i7 mount ) has been built and it has Windows 7 Ult OS 64bit, where 2006 was installed and QuickReports Pro as well as eDocEngine, FIB+, TMS, LMD, ZEOS & DB Comparer Component Packs - I use them in my products.

On computer I have Office 2010 installed as well, by default in 32bit version and Adobe CS6. That's it.

After installation I tried few times reinstall RAD 2009 and anyway, always the same problem, to simplify it is 100% reproducable like that:

  • Create new Delphi VCL Forms application ;
  • Click File / New / Other and goto, say, "Delphi files" and select Frame or DataModule. When new file is created, all the time we have message:

"Stack overflow - save your work and restart Delphi for Microsoft Windows"

After that IDE set in bad state and next F12 ( show VCL designer) closes Delphi with General Error.

Any idea what happens?

As I said, I tried few time uninstall - install 2006, start in any personality, use / do not use any of the updates or IDE fixes from Andy's site, nothing helps.

Any help would be greatly appreciated.

هل كانت مفيدة؟

المحلول

You can try running a second instance of the IDE in the debugger.

  1. Create an empty dll or package project.
  2. Open Run > Parameters
  3. Set the host application to $(BDS)\bin\BDS.exe

Then just hit F9 to run the second instance of the IDE in the debugger. After that just follow the steps to reproduce the problem and wait for the exception. If all goes well you'll get a complete call stack to step through.

Note: You may see various other exceptions occurring as the IDE loads. These are normal and can usually be ignored.

Also you didn't mention what version of Windows was on your old machine. If it was Windows XP Uwe could be right. XP was a little more lax on security by default than Vista or 7. The new default is to restrict write access to any folder under Program Files. If that turns out to be the problem you can adjust the write permissions for $(BDS) for whatever user account you use for development.

نصائح أخرى

Delete de PackageCache in Embarcadero registry entries. Its not a complete solution but worked for me.

Got that from here: http://qc.embarcadero.com/wc/qcmain.aspx?d=118669 (last answer).

I have no BDS 2006 at hand, but is it possible that the default folder for new projects is located below the Program Files folder? In that case there might be no write access to that folder.

مرخصة بموجب: CC-BY-SA مع الإسناد
لا تنتمي إلى StackOverflow
scroll top