P
Petr Jarkovsky
Hi,
I have the problem with Outlook object model and SyncObjects.
When I use something like OutApp.Session.SyncObjects.Item(1).Start, it works
fine, but I need to catch events OnSyncStart, OnSyncEnd, OnProgress and
OnError. So, I wrote my own class (in Delphi, inherited from TOleServer) for
connecting to SyncObject and listening for these events.
When I connect to any SyncObject (e.g. OutApp.Session.SyncObjects.Item(1)),
the calling Start method of this object raise an exception with message:
'Cann't get synchronization objects in Outlook application. This problem is
obviously caused by the wrong configuration of Outlook application for
offline mode.' (translated to English).
I used some examples from MSDN and other web sites, I used even original
example code from Borland, but I still get the same error.
Can someone help me?
Petr Jarkovsky
I have the problem with Outlook object model and SyncObjects.
When I use something like OutApp.Session.SyncObjects.Item(1).Start, it works
fine, but I need to catch events OnSyncStart, OnSyncEnd, OnProgress and
OnError. So, I wrote my own class (in Delphi, inherited from TOleServer) for
connecting to SyncObject and listening for these events.
When I connect to any SyncObject (e.g. OutApp.Session.SyncObjects.Item(1)),
the calling Start method of this object raise an exception with message:
'Cann't get synchronization objects in Outlook application. This problem is
obviously caused by the wrong configuration of Outlook application for
offline mode.' (translated to English).
I used some examples from MSDN and other web sites, I used even original
example code from Borland, but I still get the same error.
Can someone help me?
Petr Jarkovsky