zoukankan      html  css  js  c++  java
  • 网友写的解决uniGUI限制的方法

    群友写的解决uniGUI试用版限制修改SessionTimeOut,思路很精巧,贴过来分享,感谢朋友的奉献。当然,如果真正用uniGUI实做项目,买份正版是正道!

    var
       UniServerOption, newUniServerOption : TUniServerOptions;
       n : Integer;
    begin
       UniServerOption := UniServerModule.Options;
       pAddr := @UniServerModule.Options;
       newUniServerOption := [soShowLicenseInfo, soAutoPlatformSwitch, soDisableBrowserCompatibilityMessage, soRestartSessionOnTimeout, soAllowSessionRecording];
       n := Byte((@newUniServerOption)^);
       PInteger(pAddr)^ := n;
       UniServerOption := UniServerModule.Options;
    end;

    对于在ide中修改无效的属性是因为代码中只有getxxx而没有了setxxx
    可按上面的方法自行脑补

  • 相关阅读:
    截图插件
    断点续传
    sql server 将日期减一天
    C# 输出24小时格式时间
    蓝桥 凑平方数
    九宫重排
    HDU 1584
    HDU 2612 (两边一起)
    HDU 1016 Prime Ring Problem
    全排列、排列、排列组合
  • 原文地址:https://www.cnblogs.com/westsoft/p/5964449.html
Copyright © 2011-2022 走看看