tlw1985 / cnpack

Automatically exported from code.google.com/p/cnpack
0 stars 0 forks source link

Unknown identifier 'FILENAME' in TCnScriptFileNotify #13

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?

Use Script:

{*******************************************************}
{                                                       }
{       Pascal Script Source File                       }
{       Run by RemObjects Pascal Script in CnWizards    }
{                                                       }
{       Generated by CnPack IDE Wizards                 }
{                                                       }
{*******************************************************}

program Script_dfm;

uses
  Windows, Messages, SysUtils, Classes, Graphics, Controls, Forms, Dialogs,
  StdCtrls, ScriptEvent, TypInfo;

var
  CnNotify: TCnScriptFileNotify;
begin
  if (Event <> nil) and (Event is TCnScriptFileNotify) then begin
    CnNotify:=TCnScriptFileNotify(Event);
    ShowMessage(CnNotify.FileName)
  end;

end.
{*******************************************************}

If to compile, an error:
Unknown identifier 'FILENAME' in TCnScriptFileNotify
_______________________________

Ver: 0.9.5.559_Unstable Build 2010.02.17
CodeGear™ RAD Studio 2009  Version 12.0.3420.21218

Original issue reported on code.google.com by ServerMo...@gmail.com on 2 Mar 2010 at 1:59

GoogleCodeExporter commented 8 years ago

Original comment by zjy.cnp...@gmail.com on 5 Mar 2010 at 9:32