zoukankan      html  css  js  c++  java
  • unigui的编译部署

    unigui的编译部署

    unigui既可以EXE形态部署,也可以IIS的ISAPI的形态部署。关键在工程文件.dpr里面的编译开关。

    {$define UNIGUI_VCL} // 注释此编译开关将使用 ISAPI 模式

    {$ifndef UNIGUI_VCL}
    library
    {$else}
    program ynjxc;
    {$ENDIF}

    uses
    MidasLib,
    Forms,
    ServerModule in 'ServerModule.pas' {UniServerModule: TUniGUIServerModule},
    MainModule in 'MainModule.pas' {UniMainModule: TUniGUIMainModule},
    Main in 'Main.pas' {MainForm: TUniForm},
    untLog in 'untLog.pas',
    untDll in 'untDll.pas',
    untReport in 'untReport.pas' {frmReport: TDataModule},
    untTree in 'untTree.pas' {frmTree: TUniFrame},
    untProviderKind in 'configuntProviderKind.pas' {frmProviderKind: TUniFrame},
    untProvider in 'configuntProvider.pas' {frmProvider: TUniFrame},
    untClient in 'configuntClient.pas' {frmClient: TUniFrame},
    untClientKind in 'configuntClientKind.pas' {frmClientKind: TUniFrame},
    untGoodsKind in 'configuntGoodsKind.pas' {frmGoodsKind: TUniFrame},
    untGoods in 'configuntGoods.pas' {frmGoods: TUniFrame},
    untEmployee in 'configuntEmployee.pas' {frmEmployee: TUniFrame},
    untLogin in 'untLogin.pas' {UniLoginForm1: TUniLoginForm};

    {$R *.res}

    {$ifndef UNIGUI_VCL}
    exports
    GetExtensionVersion,
    HttpExtensionProc,
    TerminateExtension;
    {$endif}

    begin
    {$ifdef UNIGUI_VCL}
    Application.Initialize;
    TUniServerModule.Create(Application);
    Application.Run;
    {$ENDIF}
    end.

  • 相关阅读:
    rsync备份服务器搭建学习笔记
    switch case
    常见http状态码
    正则去除html字符串中的注释、标签、属性
    2018-10-10 10:00 从今日开始记录
    Qt dialog 的geometry()
    Qt禁止最大和最小化
    tableWidget删除除了头外的内容并释放
    Qt QTabBar 实现宽度调整,非QSS
    Qt 歌词有关内容
  • 原文地址:https://www.cnblogs.com/hnxxcxg/p/6377993.html
Copyright © 2011-2022 走看看