呵呵,你把它改成如下
program HR;
{PUBDIST}
uses
Forms,
IWMain,
//IWInitStandAlone,
ServerController in 'ServerController.pas' {IWServerController: TDataModule},
CHR in 'CHR.pas' {formMain: TIWForm1},
DatamoduleUnit in 'DatamoduleUnit.pas' {dmHR: TDataModule},
CFrameMenu in 'CFrameMenu.pas' {FrameMenu: TFrame},
CFormBase in 'CFormBase.pas' {formBase: TIWAppForm},
CFormCorpList in 'CFormCorpList.pas' {formCorpList: TIWAppForm},
CFormHumanList in 'CFormHumanList.pas' {formHumanList: TIWAppForm},
CFormQuery in 'CFormQuery.pas' {formQuery: TIWAppForm},
CFormRight in 'CFormRight.pas' {formRight: TIWAppForm},
CFormEditCorp in 'CFormEditCorp.pas' {formEditCorp: TIWAppForm},
CWebUtils in 'CWebUtils.pas',
CFormEditHuman in 'CFormEditHuman.pas' {formEditHuman: TIWAppForm},
CFormLogin in 'CFormLogin.pas' {formLogin: TIWAppForm};
{$R *.res}
begin
Application.Initialize;
Application.CreateForm(TFormIWMain, formIWMain);
Application.Run;
//IWRun(TformLogin, TIWServerController);
//IWRun(TFormMain, TIWServerController);
end.
这个问题应当出在,你的intraweb的版本比你的原做demo的版本高,