When WinLIRC is run from a script, it expects
WinLIRC.ini &
IRToy.dll in the same folder as the script (script's startup folder), instead of WinLIRC's folder. It doesn't matter what you set in WinLIRC.ini.
I copied the files to WinLIRC's folder and set the plugin's path in WinLIRC.ini, but it didn't work (Plugin & RemotePlugin). Only the RemoteConfig path seems to work.
[IRToyPlugin]
ComPort=6
[WinLIRC]
RemoteConfig=C:Program FilesWinLIRCRC5.txt <=== This path works!
Plugin=IRToy.dll <=== This path does nothing!
DisableKeyRepeats=0
DisableFirstKeyRepeats=0
Dukey is the current active developer of the WinLIRC project, I'd recommend you PM him here:
http://dangerousprototypes.com/forum/in ... file;u=872 (http://dangerousprototypes.com/forum/index.php?action=profile;u=872)
When you say you are running things from a script, what kind of script ?
In WinLIRC i had to change the current directory to this
SetCurrentDirectory(_T(".\plugins\"));
So plugins think they are running from the plugins folder, instead of .exe folderplugins I had to make this change because some plugins are statically linked with other dll's. And because they are statically linked would mean they would either have to be copied to the system folder, or copied to the local directory of the program, which would have lead to a mess of files.
It's possible that the script, or whatever you are using somehow violate the programs current directory.
Solved the problem by specifying the application's folder, but could have also started WinLIRC independently. :)