Home General

Problem moving from XP/Delphi 2007 to Windows7/Delphi10

edited May 2010 in General
I'm moving a program from Windows XP with Delphi 2007 to Windows 7 with
Delphi 2010. I'm using the most current version of Report Builder for both.
Everything compiles fine in Delphi 2007. When I compile in Delphi 2010 I
get the following message:

[DCC Fatal Error] ppSynUEditWordWrap.pas(661): F2039 Could not create output
file 'C:\Program Files (x86)\Embarcadero\RAD
Studio\7.0\RBuilder\Lib\ppSynUEditWordWrap.dcu'

Has anyone seen this before, or have any idea where I should start in
getting this program to compile?

Thanks in advance!

Comments

  • edited May 2010
    Welcome to Windows 7 enhanced user security (started with Vista)!

    The folders under "Program Files" (and "Program Files (x86)" for 32-bit
    applications running under a 64-bit operating system) are protected by
    default, meaning that unless an application was started with
    Administrator-level privileges, or the folder's security settings were
    specifically modified to allow edits by "normal" users, then you can't write
    to that folder.

    There are (at least) three solutions:

    1. Start Delphi as administrator
    2. Modify the ReportBuilder folder under Program Files (x86) to allow edits
    by regular users.
    3. Send the output compilations (*.dcu, *.bpl, etc.) somewhere else--but
    you'll still probably run into problems if you make ANY change to anything
    else, like the version of the project, or save several projects in a project
    group.


    --
    David Cornelius
    Cornelius Concepts

This discussion has been closed.