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

     

     (2015-09-28 22:19:06)
    标签: 

    杂谈

    分类: 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 可按上面的方法自行脑补
  • 相关阅读:
    单调队列 POJ 2823
    大组合数取mod lucas 定理
    多校4
    多校2
    2016多校1
    百度之星 初赛B续
    iot-web增加apis-namespace组件
    25.75k8s
    新项目增加gradlew
    vue图片点击放大预览v-viewer
  • 原文地址:https://www.cnblogs.com/wxb-km/p/5441419.html
Copyright © 2011-2022 走看看