Outlook crash when started by the test program...
Brought to you by:
lasthope83
To be more precise:
--If Outlook was running when test program was launched
(not launched by the test program), no problem, it
doesn't crash.
--If Outlook is started with by the test programm,
initially it works normally. You can subscribe witout
any problem an iCalendar.
BUT, if you restart the test program, you can subscribe
correctly the iCalendar...but after that, an
InvalidOperationException is launched.
Most probably, there are some settings to set when
launching Outlook from an external program, but I have
no idea at the moment...
Logged In: YES
user_id=1114442
This seemed related to the fact the first version used Tcp
and used a file when Outlook wasn't running.
Changing to Ipc and adding a polling system instead of the
use of a temp file solved this problem.