Makeimg not copying project files to FLATRELEASEDIR

Tech-Archive recommends: Repair Windows Errors & Optimize Windows Performance



Hi All,

I am working with PB 5.0 on an XP Pro - SP2 machine.

I recently lost the ability to make a change in Project.reg, launch Makeimg
(Make Run-Time Image) and see my change in the freshly generated
reginit.ini.

As a temporary workaround, I added a Custom Build Action to my Project
Settings in order to enforce the copy of the Project files in the Pre-Make
Image step:

copy %_PROJECTOAKROOT%\files\project.* %_FLATRELEASEDIR%

Looking at the output, I discovered that there was a file access issue:

makeimg: run command: cmd /C C:\WINCE500\public\common\oak\misc\pbpremakeimg
Generating PBWorkspace Custom makeimg build step batch Files to
C:\WINCE500\PBWorkspaces\EBB615EX\WINCE500\EBB615_x86\oak
Done Generating PBWorkspace Custom makeimg build step batch Files
Doing PreMakeImage Custom Build Actions
C:\WINCE500\PBWorkspaces\EBB615EX\WINCE500\EBB615_x86\oak\files\project.bib
Le processus ne peut pas acc,der au fichier car ce fichier est utilis, par
un autre processus.
C:\WINCE500\PBWorkspaces\EBB615EX\WINCE500\EBB615_x86\oak\files\project.dat
Le processus ne peut pas acc,der au fichier car ce fichier est utilis, par
un autre processus.
C:\WINCE500\PBWorkspaces\EBB615EX\WINCE500\EBB615_x86\oak\files\project.db
Le processus ne peut pas acc,der au fichier car ce fichier est utilis, par
un autre processus.
C:\WINCE500\PBWorkspaces\EBB615EX\WINCE500\EBB615_x86\oak\files\project.reg
0 fichier(s) copi,(s).
Le processus ne peut pas acc,der au fichier car ce fichier est utilis, par
un autre processus.
Done Doing PreMakeImage Custom Build Actions

In english, the offending message states that "The process can't access the
file because this file is used by another process". Of course, I am unable
to see what other process could be accessing my Project files.

If I then "touch" the files with Platform Builder (i.e. forcing PB to write
them to the disk), the copy works, until the next boot...

Any hints and sugestions are welcome.

Remi


.



Relevant Pages

  • Re: Makeimg not copying project files to FLATRELEASEDIR
    ... Makeimg and see my change in the freshly generated ... Done Generating PBWorkspace Custom makeimg build step batch Files ... Le processus ne peut pas acc,der au fichier car ce fichier est utilis, par ...
    (microsoft.public.windowsce.platbuilder)
  • Re: IIS 6 URL Authorization Erroe 518
    ... Le processus ne peut pas accéder au fichier car ce fichier ... (loose translation: The process ... Before installing these pathches, we never got that error before. ...
    (microsoft.public.inetserver.iis.security)