Possible to use command line parameters in callback?

20 views
Skip to first unread message

Greg Long

unread,
Jan 11, 2016, 5:15:27 PM1/11/16
to Snarl Discussion
Snarl 3.1 V45.25

I am using a static invocation callback, the callback runs an executable on the local machine and this is working OK.

I now need to add some command line parameters to pass to the executable. 

I am able to pass the callback correctly quoted with the command line parameter. 
See log output:

11-Jan-2016 23:08:28 LOG 0 TMainWindow.uCopyData(): dwData=1397640195 hWndFrom=00001EFC
11-Jan-2016 23:08:28 LOG 0 g_DoV42Request(): 'isvisible?app-sig=application/DPANotifier&password=123456&uid=NormalMessage'
11-Jan-2016 23:08:29 LOG 0 TMainWindow.uCopyData(): dwData=1397640195 hWndFrom=00001EFC
11-Jan-2016 23:08:29 LOG 0 g_DoV42Request(): 'notify?app-sig=application/DPANotifier&password=123456&uid=NormalMessage&title=My Title&text=A test message&timeout=0&callback="C:\TestExecutable.exe" -dummyParameter&priority=-1'
11-Jan-2016 23:08:29 LOG 0 g_DoNotify(): looking for uid 'NormalMessage' from app 'application/DPANotifier'...
11-Jan-2016 23:08:29 WARN 0 TApp.Show(): class '' not registered, using default...
11-Jan-2016 23:08:29 LOG 0 TNotificationRoster.Add(): applied presence: 0
11-Jan-2016 23:08:29 LOG 0 TNotificationRoster.Add(): placing at 1606,952-1915,1035
11-Jan-2016 23:08:31 LOG 0 CSnarlWindow.WndProc(): client area invoked
11-Jan-2016 23:08:31 LOG 0 legacy mode: doing invoke..


The problem is the executable is not called. If I remove the command line parameter then the executable does get called.


Any ideas on a workaround?

Any help is much appreciated.

Regards
Greg

Reply all
Reply to author
Forward
0 new messages