Hello All,

I have written a small IDE plugin to trap the "Build" menu click that
generates a unit Signature.pas in the project directory. Signature.pas
is a very small unit that looks like this:

unit Signature;

interface
uses SysUtils;

function ExecutableSignature :string;
function ExecutableCompileTime :TDateTime;

implementation

function ExecutableSignature :string;
begin
  result := 'some unique string';
end;

function ExecutableCompileTime :TDateTime;
begin
  result := 0.0;
end;

end.

Each time an application is compiled it gets a new signature. (I use
the signature to make a snapshot of the source files that went into
the build). I have a default Signature.pas in one of my library paths
in case the plugin is not installed on the machine. After compilation,
the local copy of Signature.pas is deleted to prevent any future
confusion.

However, the IDE doesn't always see the local copy and compiles in the
default copy in the library. It mostly works correctly but once the
compiler has found the default library version it never finds the
local copy until I restarted Delphi.

Does anybody have any idea as to how I might inform the IDE/Compiler
that there has been a very recent to change?

Thanks,
 Stephen Stewart                         mailto:[EMAIL PROTECTED]


_______________________________________________
Delphi mailing list -> [email protected]
http://www.elists.org/mailman/listinfo/delphi

Reply via email to