StandbyWatcher - avoids standby while something is recorded on vista ::V1.1 released! (2 Viewers)

disaster123

MP Donator
  • Premium Supporter
  • May 14, 2008
    3,558
    434
    Home Country
    Germany Germany
    I've also tried that same result or similar... i'll recompile it on my own and see what happens :)
     

    disaster123

    MP Donator
  • Premium Supporter
  • May 14, 2008
    3,558
    434
    Home Country
    Germany Germany
    OK I've recompiled the code and places my actual .dlls in the source but i still get the following error, when i'm in the config setup - starting the .exe works fine i see the tray icon except when i try to configure it.

    Code:
    ************** Ausnahmetext **************
    System.BadImageFormatException: Die Datei oder Assembly "TvControl, Version=1.0.1.37089, Culture=neutral, PublicKeyToken=null" oder eine Abhängigkeit davon wurde nicht gefunden. Es wurde versucht, eine Datei mit einem falschen Format zu laden.
    Dateiname: "TvControl, Version=1.0.1.37089, Culture=neutral, PublicKeyToken=null"
       bei StandbyWatcher.Form1.timer_ChechIfItsRecording_Tick(Object sender, EventArgs e)
       bei System.Windows.Forms.Timer.OnTick(EventArgs e)
       bei System.Windows.Forms.Timer.TimerNativeWindow.WndProc(Message& m)
       bei System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)
     

    MoPhat

    Retired Team Member
  • Premium Supporter
  • June 17, 2007
    816
    226
    Berg
    Home Country
    Switzerland Switzerland
    :confused::confused::confused:

    Had any other similar error with the StandbyWatcher?

    Have you a special MP installation?

    ...
    MoPhat
     

    disaster123

    MP Donator
  • Premium Supporter
  • May 14, 2008
    3,558
    434
    Home Country
    Germany Germany
    MoPhat only yeah my MP Version but there are no changes which can result in this issue. On my Laptop (Vista x86) your tool runs fine (no MP installed but it gives no error) but it does not on my MP TV-Server Machine (Vista 64)...

    do you have any idea how to debug this error? I'm not so familiar with C# development.
     

    MoPhat

    Retired Team Member
  • Premium Supporter
  • June 17, 2007
    816
    226
    Berg
    Home Country
    Switzerland Switzerland
    AHA 64Bit!!!.... wusste ichs doch ;)

    You can use in visual studio the compile flag for compiling in 32/64bit mode, try the 64er one.

    greetz
    MoPhat
     

    disaster123

    MP Donator
  • Premium Supporter
  • May 14, 2008
    3,558
    434
    Home Country
    Germany Germany
    OK it's now running fine for me - no error Message any longer. If you want that your app also runs under Vista 64 you've to explicit build it for x86 cause the MP .dll files are also only for x86 - otherwise your app runs in 64bit mode and cannot load 32bit dlls under vista 64.

    See for example:
    System.BadImageFormat Exception


    Thanks for your great app and thanks for sharing the code.
     

    disaster123

    MP Donator
  • Premium Supporter
  • May 14, 2008
    3,558
    434
    Home Country
    Germany Germany
    Hi one problem i still have - do you have any idea how to use your plugin in parallel with the keyboard input plugin? Cause keyboard input plugin does also use a keyboard hook and standbywatcher doesn't seem to receive the key presses - when keyboard input plugin is active.
     

    SilentException

    Retired Team Member
  • Premium Supporter
  • October 27, 2008
    2,617
    1,130
    Rijeka, Croatia
    Home Country
    Croatia Croatia
    Hi one problem i still have - do you have any idea how to use your plugin in parallel with the keyboard input plugin? Cause keyboard input plugin does also use a keyboard hook and standbywatcher doesn't seem to receive the key presses - when keyboard input plugin is active.

    are you using my version of keyboard input plugin? with fixed hook and other things? if not, try it out..
     

    disaster123

    MP Donator
  • Premium Supporter
  • May 14, 2008
    3,558
    434
    Home Country
    Germany Germany
    @SilentExcept
    not sure... link / url? :) KeyboardInputplugin 2.1.0 is the version i have / use
     

    Users who are viewing this thread

    Top Bottom