Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Error in Building EXE when reportlistener used
Message
From
11/10/2006 15:24:50
 
 
To
29/09/2006 20:21:47
General information
Forum:
Visual FoxPro
Category:
Reports & Report designer
Environment versions
Visual FoxPro:
VFP 9 SP1
OS:
Windows XP SP1
Network:
Windows 2003 Server
Database:
Visual FoxPro
Miscellaneous
Thread ID:
01158182
Message ID:
01161297
Views:
14
>> >> i run my exe from the VFP IDE, we have this facility
>> >> to run the Exe in the VFP IDE and i can come back to
>> >> the IDE from the exe. when i run a report and make
>> >> changes to any of my progrmas and try to rebuild the
>> >> exe with the same name. i am getting an error
>> >> "OBJECT FILE exe path IS IN USE AND CANNOT BE REMOVED FROM THE MEMORY"
>>
>>
>> Huh. Weirdly, this exact problem happened to me today.
>> The error is:
>> "Object file c:\myapp\myapp.exe is in use and cannot be removed from memory."
>>
>> CLEAR PROGRAM and CLEAR RESOURCES don't help either. Bummer.

I have more information:
I believe this is a bug in the VFP 9.0 reporting system.

In order for it to happen, the following conditions need to be met:

1) SET REPORTBEHAVIOR 90
2) Have an OLE/Bound control set to an image file in your report.

I also suspect that:
3) the image file referenced by the report must be included into the PJX/EXE.

You also need to:

1) run your EXE from the Visual FoxPro IDE
2) perform a report run from inside the EXE
3) then exit the app and drop back to the IDE
4) attempt to rebuild the EXE (using BUILD EXE or whatever)

- Colin
Previous
Reply
Map
View

Click here to load this message in the networking platform