Learn how easy it is to sync an existing GitHub or Google Code repo to a SourceForge project! See Demo

Close

#11 Error when started from other program

Both or unknown
closed-fixed
nobody
Other (6)
5
2013-08-25
2010-07-12
No

When I start other program with WinLIRC connection ability (it starts WilLIRC automatically ater starting itself), WinLIRC produces this error:
---------------------------
WinLIRC Error
---------------------------
WinLIRC failed to initialize.
Would you like to change the configuration
and try again?
---------------------------
OK Cancel
---------------------------

...and when I press "Cancel", other one:

---------------------------
WinLIRC
---------------------------
Could not create dialog boxes.

---------------------------
OK
---------------------------

There are no plugins in configuration window after that.

When I start WinLIRC from folder it was installed to, all works fine.

Version 0.6.5 don't have this errorneous behaviour. What's happen?

Discussion

  • Ian
    Ian
    2010-07-12

    What program are you using to autostart WinLIRC ? Do the plugins show when you load it the normal way ? WinLIRC sets the current directory to the plugins folder, so that dlls that are statically linked can load properly. Perhaps the program you are using somehow breaks this.

     
  • > What program are you using to autostart WinLIRC ?
    Media player Light Alloy: http://softella.com/la/features.en.htm
    > Do the plugins show when you load it the normal way ?
    Yes, of course. It shows plugins and works fine than.
    > WinLIRC sets the current directory to the plugins folder
    I should not accept this - look for the situation:
    I doubleclick the video file - LA (associated) starts - WInLIRC error - LA starts to show movie. When I press OK (NOT Cancel) in WinLIRC error (both of them), there is a WinLIRC.ini file created in the movie folder!
    Please advice another program to test this again.

     
  • Ian
    Ian
    2010-07-13

    Well, the problem is what I thought it was. The current directory for the program is being violated. The fact an ini file appears in the movie folder shows the current directory for the program has changed ! If youcopied all the plugin DLLs there it might actually work, however this is not a good solution. The light allow developer actually contacted me about WinLIRC support, maybe it's best to contact him about this. Since I don't know how he is loading WinLIRC, I can't not really fix this. I need to set the current directory to the plugins folder, otherwise dlls thare are statically linked would need to be in the same folder as the winlirc .exe and that would make for a real mess of files.

     
  • Ian
    Ian
    2013-08-25

    • status: open --> closed-fixed
    • Group: --> Both or unknown