zoukankan      html  css  js  c++  java
  • 装载HYDRA插件

    procedure THostForm.LoadLocalModules;
    var
      i, x : integer;
      parentnode: TTreeNode;
      controller : THYModuleController;
      plugindescriptor : THYPLuginDescriptor;
    begin
      TreeView.Items.BeginUpdate;
      with ModuleManager do
      begin
        LoadModules(GetAppPath + 'plugin/*.dll');
        for i := 0 to (ModuleCount - 1) do         
        begin
          controller := Modules[i].ModuleController;
          if blTree(controller.Descriptor.Name) <> nil then
            parentnode := blTree(controller.Descriptor.Name)
          else
            parentnode := TreeView.Items.AddChildObject(NIL,
              controller.Descriptor.Name, controller);
          for x := 0 to (controller.PluginDescriptorCount - 1) do
          begin
            plugindescriptor := controller.PluginDescriptors[x];
            TreeView.Items.AddChildObject(parentnode,
              plugindescriptor.Name, plugindescriptor);
          end;
        end;
      end;
        TreeView.Items.EndUpdate;
    end;

  • 相关阅读:
    grub损坏修复方法
    基本命令(一)
    python 及 ipython 源码安装
    Samba服务安装配置
    shell语法一
    cacti监控软件
    Telnet服务安装及配置
    LVM逻辑卷,RAID磁盘阵列
    运维笔试题4(转载)
    运维笔试题3(转载)
  • 原文地址:https://www.cnblogs.com/hnxxcxg/p/2940663.html
Copyright © 2011-2022 走看看