Codejock Forums Homepage
Forum Home Forum Home > Codejock Products > ActiveX COM > Calendar
  New Posts New Posts RSS Feed - Problem with calendar and outlook
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

Problem with calendar and outlook

 Post Reply Post Reply
Author
Message
immoassist View Drop Down
Groupie
Groupie
Avatar

Joined: 19 June 2008
Status: Offline
Points: 20
Post Options Post Options   Thanks (0) Thanks(0)   Quote immoassist Quote  Post ReplyReply Direct Link To This Post Topic: Problem with calendar and outlook
    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
Back to Top
Fredrik View Drop Down
Senior Member
Senior Member


Joined: 22 June 2005
Status: Offline
Points: 235
Post Options Post Options   Thanks (0) Thanks(0)   Quote Fredrik Quote  Post ReplyReply Direct Link To This Post 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
Back to Top
immoassist View Drop Down
Groupie
Groupie
Avatar

Joined: 19 June 2008
Status: Offline
Points: 20
Post Options Post Options   Thanks (0) Thanks(0)   Quote immoassist Quote  Post ReplyReply Direct Link To This Post 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
Back to Top
Fredrik View Drop Down
Senior Member
Senior Member


Joined: 22 June 2005
Status: Offline
Points: 235
Post Options Post Options   Thanks (0) Thanks(0)   Quote Fredrik Quote  Post ReplyReply Direct Link To This Post 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
Back to Top
 Post Reply Post Reply
  Share Topic   

Forum Jump Forum Permissions View Drop Down

Forum Software by Web Wiz Forums® version 12.04
Copyright ©2001-2021 Web Wiz Ltd.

This page was generated in 0.236 seconds.