Board index » delphi » TOulookApplication initalisation
David Downie
![]() Delphi Developer |
TOulookApplication initalisation2004-10-16 09:06:57 AM delphi60 Hi I'm using TOutlookApplication and if I use it when Outlook isn't running my program crashes. Does anyone know how to check and see if Outlook is running so I can avoid using it if this is the case? Also, as a side question, my instance of TOutlookApplication appears to be working even though I am not doing any initalisation or connecting that I can see. The autoconnect is false. Presumably it works out to establish communication with Outlook when I try and access information, but if anyone has any comments on this it would be good. I would like to do the right thing here (initially I wasn't even using Create and it still seemed to work, although I now have that). Thanks very much for all the advice I have been getting. David. |