Print Page | Close Window

Problem with calendar and outlook

Printed From: Codejock Forums
Category: Codejock Products
Forum Name: Calendar
Forum Description: Topics Related to Codejock Calendar
URL: http://forum.codejock.com/forum_posts.asp?TID=23675
Printed Date: 24 November 2024 at 7:23am
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: Problem with calendar and outlook
Posted By: immoassist
Subject: Problem with calendar and outlook
Date Posted: 11 July 2018 at 3:41am
Hi

We are using Codejock 15.3.1 in our application

And since a few days, we have claims of my clients that our application is not linked anymore with Outlook.

Even on my computer, it crash.

  oCalendar.SetDataProvider "Provider=MAPI;"

Crash on this line:
    If Not oCalendar.DataProvider.Open Then

no error, but a big crash.

Outlook 2016 is crashing

As it was working before, and no modification in the code, what could be the problem?

Of course it is urgent.

Thanks


-------------
Come and try our application :
http://www.immoassist.com



Replies:
Posted By: Fredrik
Date Posted: 17 July 2018 at 3:31am
Maybe unrelatred, but we had to initialize the lpszAddress member in  MapiRecipDescW to avoid a crash in Outlook when sending an email from our application. According to the documentation the lpszAddress member is optional, but setting it to the same as lpszName fixed the crash for us.


-------------
Windows 10, Visual Studio 20157, Toolkit Pro 18.3.0


Posted By: immoassist
Date Posted: 17 July 2018 at 3:35am
Where do you setup this information within the codejock API?

The strange thing is that on another computer, with nearly same configuration as mine, it works.
But this is the only one for the moment I found where it is working


-------------
Come and try our application :
http://www.immoassist.com


Posted By: Fredrik
Date Posted: 17 July 2018 at 4:42am
Ah sorry, I have the MFC version - and didn't have anything to do with the XTP code. It was just that using MAPI suddenly started to crash for some of our customers...

-------------
Windows 10, Visual Studio 20157, Toolkit Pro 18.3.0



Print Page | Close Window

Forum Software by Web Wiz Forums® version 12.04 - http://www.webwizforums.com
Copyright ©2001-2021 Web Wiz Ltd. - https://www.webwiz.net