Project JEDI - Issue Tracker - JEDI VCL
Viewing Issue Advanced Details
3136 00 JVCL Components minor always 2005-08-06 12:09 2006-01-05 08:37
resolved 3.00  
none 3.20  
0003136: JvInterpreter: "flying functions" in JvInterpreterFm.pas do not work correct.
If you call one of the "flying functions" like:
<JvInterpreterRunFormModal> or <JvInterpreterRunUnit> or else you always get a "File not found!" or "Unit not found!" error.

This is because in every of these functions the parameter "FileName" collides with the property "FileName" of the on-the-fly object "TJvInterpreterFm", that is created and refered to via with-statement in these functions.
Every successive call in the with-statement using the "FileName" parameter results in an empty string parameter.
* To resolve, either rename the parameter to something different, e.g. "AFileName" or get rid of the with-statements.
Issue History
2005-08-06 12:09 CRoeper New Issue
2005-08-07 05:25 obones Status new => resolved
2005-08-07 05:25 obones Resolution open => fixed
2005-08-07 05:25 obones Assigned To => obones
2005-08-07 05:25 obones Note Added: 0007672
2005-09-09 05:42 CRoeper Status resolved => feedback
2005-09-09 05:42 CRoeper Resolution fixed => reopened
2005-09-09 05:42 CRoeper Note Added: 0007925
2006-01-05 08:37 obones Status feedback => resolved
2006-01-05 08:37 obones Resolution reopened => fixed
2006-01-05 08:37 obones Note Added: 0008299

2005-08-07 05:25   
Thanks, this is now fixed in CVS: FileName renamed to AFileName and with statements removed.
2005-09-09 05:42   
Hi there,
I just checked the CVS-Version, the function <JvInterpreterMakeForm> and <JvInterpreterRunUnit> still won't work; the "FileName" parameter is just renamed in the declaration, not in the body of the function, the with-statement will do the rest...
2006-01-05 08:37   
This is now fixed in CVS. Sorry for the delay