use the /R option of the commandline compiler to include
 
..\Delphi5\lib       //.. is your D5 installation path not literally '..'
 
as one of the resource paths.    that thing it's looking for is
a resource in filectrl.res
 
-ns
 
----- Original Message -----
Sent: Saturday, May 26, 2001 3:43 PM
Subject: [DUG]: Compiler strangeness

Hi All.
I have an app. that I have written that will alter some source code for another app. and then compile the source code it had altered.
Now I have this working all ok, BUT if I compile the source code in delphi, all is fine, BUT if I compile the source code via the compandline, I get a strange error.
 
I am using the "SelectDirectory" function that is in "FileCtrl".
IF I compile the app normally in Delphi (5 this is) whenthe exe runs it brings up this dialog, BUT when I compile it via the conmandline, if gives me an error "Resource OPENFOLDER Not Found".
Now, I am using the same search path in the compilation that Delphi uses, but i cant figure this out.
Anyone got any ideas ??
 
Cheers, Jeremy Coulter

Reply via email to