Changing IMEModuleSettings at runtime

delphi package - automated exception handling
Post Reply
cbucco
Posts: 1
Joined: Mon Nov 03, 2008 2:06 pm

Changing IMEModuleSettings at runtime

Post by cbucco »

I've tried to change some settings at runtime:

Code: Select all

  with MESettings(HInstance) do
  begin
    case ANiveau of
      0 : begin
        ListThreads := true;
        ShowCpuRegisters := false;
        ShowStackDump := false;
        ShowDisAsm := false;
        PluginEnabled['modules'] := false;
        PluginEnabled['processes'] := false;
        PluginEnabled['hardware'] := false;
      end;
      1 : begin
        ListThreads := true;
        ShowCpuRegisters := false;
        ShowStackDump := false;
        ShowDisAsm := false;
        PluginEnabled['modules'] := true;
        PluginEnabled['processes'] := false;
        PluginEnabled['hardware'] := false;
      end;
      2 : begin
        ListThreads := true;
        ShowCpuRegisters := false;
        ShowStackDump := false;
        ShowDisAsm := false;
        PluginEnabled['modules'] := true;
        PluginEnabled['processes'] := true;
        PluginEnabled['hardware'] := false;
      end;
      3 :  begin
        ListThreads := true;
        ShowCpuRegisters := false;
        ShowStackDump := false;
        ShowDisAsm := false;
        PluginEnabled['modules'] := true;
        PluginEnabled['processes'] := true;
        PluginEnabled['hardware'] := true;
      end;
    end;
  end;
Is there something I'm not doing right ? Cause this won't work :(

Thanks!
Post Reply