MirkoB
Guest
|
Hi everbody,
I am trying to program a phone notes addon as test in outlook.
But I am getting an exception when I add a DevExpress component to the form, build the dll and start Outlook.
Without any DevExpress component (I tried cxGrid) it is running fine. I am using Devexpress VCL 18.2.5.
It directly gives me an excpetion and this is the log:
Exceptions:
============
coPhoneNote error (TadxOlForm.CreateEx): the add-in has fired an exception.
Zugriffsverletzung bei Adresse 2D8CB724 in Modul 'PhoneNote.dll'. Lesen von Adresse 00000084
System Info:
============
Time: 02/04/2019 16:26:32
Package: Unknown
ADX Version: 9.2.1656
Outlook version: 16.0.0.11328
Addin 1:9 AccessAddin.DC, Microsoft Access Outlook Add-in for Data Collection and Publishing
Addin 2:9 AdobeAcroOutlook.SendAsLink, Adobe Document Cloud for Microsoft Outlook - Acrobat
* Addin 3:9 Microsoft.VbaAddinForOutlook.1, Microsoft VBA for Outlook Addin
Addin 4:9 OscAddin.Connect, Outlook Social Connector 2016
* Addin 5:9 OutlookKLAvPlg.Addin_00A036B6-52D8-434A-8059-67B912341E01, Kaspersky Outlook Anti-Virus Addin
* Addin 6:9 PhoneNote.coPhoneNote, coPhoneNote
Addin 7:9 TeamViewerMeetingAddIn.AddIn, TeamViewer Meeting Add-In
Addin 8:9 UCAddin.LyncAddin.1, Skype Meeting Add-in for Microsoft Office
* Addin 9:9 UmOutlookAddin.FormRegionAddin, Microsoft Exchange Add-in
Log:
============
02/04/2019 16:26:34 12812 --Show time: 02/04/2019 16:26:34
02/04/2019 16:26:32 12812 --
02/04/2019 16:26:32 12812 --{-Event coPhoneNote @@@ OnCommonExplorerWindowShow
02/04/2019 16:26:32 12812 ----SendMessage Find Windows
02/04/2019 16:26:32 12812 ----@@@ @@@ DoNavigationPaneShow
02/04/2019 16:26:32 12812 --------WebViewURL:
02/04/2019 16:26:32 12812 --------FMessageClass: IPM.Note
02/04/2019 16:26:32 12812 --------FFolderDefaultItemType: 0
02/04/2019 16:26:32 12812 --------FFullFolderName: mirko.beckmann@rinnen-clervaux.com\Inbox
02/04/2019 16:26:32 12812 --------FFolderEntryID: 000000007B9D9A20A4CEEA4F8265A7B6B5C0FE4501003133087BEC58C84187357BEAAB9E829600000000010C0000
02/04/2019 16:26:32 12812 --------CheckPossibilityOpenFolder
02/04/2019 16:26:32 12812 ------TadxOlExplorerArguments.InitFolderProperties
02/04/2019 16:26:32 12812 ------Handle: 16781066
02/04/2019 16:26:32 12812 ----TadxOlExplorerArguments.Create 1
02/04/2019 16:26:32 12812 ----Event OnCommonExplorerWindowShow
02/04/2019 16:26:32 12812 ----SendMessage Find Windows
02/04/2019 16:26:32 12812 --{+Event coPhoneNote @@@ OnCommonExplorerWindowShow
02/04/2019 16:26:32 12812 --
02/04/2019 16:26:32 12812 --
02/04/2019 16:26:32 12812 --<<<<<<<<<<<<<<<< Synchronize TAddSearchEngineMessage
02/04/2019 16:26:32 12812 --TAddSearchEngineMessage.DoProcessMessage 16781066, 00000000
02/04/2019 16:26:32 12812 --TadxReceiverWindow.AddReceiverCustomMessage(THideReadingPaneMessage)25
02/04/2019 16:26:32 12812 --TadxReceiverWindow.AddReceiverCustomMessage(TShowReadingPaneMessage)24
02/04/2019 16:26:32 12812 --TadxReceiverWindow.AddReceiverCustomMessage(TMinimizeNavigationPaneMessage)23
02/04/2019 16:26:32 12812 --TadxReceiverWindow.AddReceiverCustomMessage(THideNavigationPaneMessage)22
02/04/2019 16:26:32 12812 --TadxReceiverWindow.AddReceiverCustomMessage(TShowNavigationPaneMessage)21
02/04/2019 16:26:32 12812 --TadxReceiverWindow.AddReceiverCustomMessage(THideReadingPaneWindowFromSBCLSMessage)20
02/04/2019 16:26:32 12812 --|-------------------------
02/04/2019 16:26:32 12812 --|coPhoneNote error (TadxOlForm.CreateEx): the add-in has fired an exception.
Zugriffsverletzung bei Adresse 2D8CB724 in Modul 'PhoneNote.dll'. Lesen von Adresse 00000084
02/04/2019 16:26:32 12812 --|Exception time: 02/04/2019 16:26:32
02/04/2019 16:26:32 12812 --|=========================
02/04/2019 16:26:32 12812 --TadxForm.Create: Before inherited TForm.Create(AOwner)
02/04/2019 16:26:32 12812 --adxOlForm.CreateEx
02/04/2019 16:26:32 12812 --GetForm
02/04/2019 16:26:32 12812 --SetExplorerAppWindowProperty
02/04/2019 16:26:32 12812 --IsContextSupport
02/04/2019 16:26:32 12812 --DoShowExplorerForm
02/04/2019 16:26:32 12812 ------WebViewURL:
02/04/2019 16:26:32 12812 ------FMessageClass: IPM.Note
02/04/2019 16:26:32 12812 ------FFolderDefaultItemType: 0
02/04/2019 16:26:32 12812 ------FFullFolderName: mirko.beckmann@rinnen-clervaux.com\Inbox
02/04/2019 16:26:32 12812 ------FFolderEntryID: 000000007B9D9A20A4CEEA4F8265A7B6B5C0FE4501003133087BEC58C84187357BEAAB9E829600000000010C0000
02/04/2019 16:26:32 12812 ------CheckPossibilityOpenFolder
02/04/2019 16:26:32 12812 ----TadxOlExplorerArguments.InitFolderProperties
02/04/2019 16:26:32 12812 ----Handle: 16781066
02/04/2019 16:26:32 12812 --TadxOlExplorerArguments.Create 1
02/04/2019 16:26:32 12812 {+Event OnCTPFactoryAvailable
02/04/2019 16:26:32 12812
02/04/2019 16:26:32 12812 DoOLNewExplorer
02/04/2019 16:26:32 12812 ----WebViewURL:
02/04/2019 16:26:32 12812 ----FMessageClass: IPM.Note
02/04/2019 16:26:32 12812 ----FFolderDefaultItemType: 0
02/04/2019 16:26:32 12812 ----FFullFolderName: mirko.beckmann@rinnen-clervaux.com\Inbox
02/04/2019 16:26:32 12812 ----FFolderEntryID: 000000007B9D9A20A4CEEA4F8265A7B6B5C0FE4501003133087BEC58C84187357BEAAB9E829600000000010C0000
02/04/2019 16:26:32 12812 ----CheckPossibilityOpenFolder
02/04/2019 16:26:32 12812 --TadxOlExplorerArguments.InitFolderProperties
02/04/2019 16:26:32 12812 --Handle: 16781066
02/04/2019 16:26:32 12812 TadxOlExplorerArguments.Create 1
02/04/2019 16:26:32 12812 Event: OnOLNewExplorer
02/04/2019 16:26:32 12812 TadxOlFormsManager.DoAddInStartupComplete
02/04/2019 16:26:32 12812 Event: OnAddInStartupComplete
02/04/2019 16:26:32 12812 Start WatchEngine
02/04/2019 16:26:32 12812 TadxForm.CreateInstanceForClientLayout {5E754B4D-FDB0-4CA8-9477-2154EA30DD46} [ServiceForm]
02/04/2019 16:26:32 12812 TadxForm.Create: After inherited TForm.Create(AOwner)
02/04/2019 16:26:32 12812 TadxForm.Create: Before inherited TForm.Create(AOwner)
02/04/2019 16:26:32 12812 TadxForm.CreateInstanceForClientLayout
02/04/2019 16:26:32 12812 TadxForm.CreateInstanceForClientLayout {3F3336E9-BDA6-40C9-A500-4A3A3427D715} [ServiceForm]
02/04/2019 16:26:32 12812 TadxForm.Create: After inherited TForm.Create(AOwner)
02/04/2019 16:26:32 12812 TadxForm.Create: Before inherited TForm.Create(AOwner)
02/04/2019 16:26:32 12812 TadxForm.CreateInstanceForClientLayout
02/04/2019 16:26:32 12812 RegisterExplorer 2
02/04/2019 16:26:32 12812 ----WebViewURL:
02/04/2019 16:26:32 12812 ----FMessageClass: IPM.Note
02/04/2019 16:26:32 12812 ----FFolderDefaultItemType: 0
02/04/2019 16:26:32 12812 ----FFullFolderName: mirko.beckmann@rinnen-clervaux.com\Inbox
02/04/2019 16:26:32 12812 ----FFolderEntryID: 000000007B9D9A20A4CEEA4F8265A7B6B5C0FE4501003133087BEC58C84187357BEAAB9E829600000000010C0000
02/04/2019 16:26:32 12812 ----CheckPossibilityOpenFolder
02/04/2019 16:26:32 12812 --TadxOlExplorerArguments.InitFolderProperties
02/04/2019 16:26:32 12812 --Handle: 16781066
02/04/2019 16:26:32 12812 TadxOlExplorerArguments.Create 1
02/04/2019 16:26:32 12812 *!* GetExplorers
02/04/2019 16:26:32 12812 RestoreWebViewFolderSettings
02/04/2019 16:26:32 12812 TadxReceiverWindow.AddReceiverCustomMessage(TRegionCloseButtonClickMessage)19
02/04/2019 16:26:32 12812 AddCloseButtonClickMessageToReceiver
02/04/2019 16:26:32 12812 TadxReceiverWindow.AddReceiverCustomMessage(TRemoveControlledResizeWindowMessage)18
02/04/2019 16:26:32 12812 AddRemoveControlledResizeWindowMessageToReceiver
02/04/2019 16:26:32 12812 TadxReceiverWindow.AddReceiverCustomMessage(TDestroyEmbededWindowMessage)17
02/04/2019 16:26:32 12812 AddDestroyEmbededWindowMessageToReceiver
02/04/2019 16:26:32 12812 TadxReceiverWindow.AddReceiverCustomMessage(TCloseFolderViewServiceFormMessage)16
02/04/2019 16:26:32 12812 TadxReceiverWindow.AddReceiverCustomMessage(TCloseReadingPaneServiceFormMessage)15
02/04/2019 16:26:32 12812 TadxReceiverWindow.AddReceiverCustomMessage(TCloseServiceFormForNotWordInspectorMessage)14
02/04/2019 16:26:32 12812 TadxReceiverWindow.AddReceiverCustomMessage(TInformToShowDockLayoutMessage)13
02/04/2019 16:26:32 12812 AddInformToShowDockLayoutMessageToReceiver
02/04/2019 16:26:32 12812 LoadDefaultFoldersEntryIDFromRegistry
02/04/2019 16:26:32 12812 ConnectOutlookEvents
02/04/2019 16:26:32 12812 TWatchEngine.CreateEx
02/04/2019 16:26:32 12812 TadxOLHook.CreateEx
02/04/2019 16:26:32 12812 TadxOlOutlookUtils.Create
02/04/2019 16:26:32 12812 RegisterMessages
02/04/2019 16:26:32 12812 TadxReceiverWindow.AddReceiverCustomMessage(TBackstageShowMessage)12
02/04/2019 16:26:32 12812 TadxReceiverWindow.AddReceiverCustomMessage(TManagerCommandMessage)11
02/04/2019 16:26:32 12812 TadxReceiverWindow.AddReceiverCustomMessage(TAddSearchEngineMessage)10
02/04/2019 16:26:32 12812 TadxReceiverWindow.AddReceiverCustomMessage(TCTPVisibleChangedMessage)9
02/04/2019 16:26:32 12812 TadxReceiverWindow.AddReceiverCustomMessage(TEndTransactionMessage)8
02/04/2019 16:26:32 12812 TadxReceiverWindow.AddReceiverCustomMessage(TStartTransactionMessage)7
02/04/2019 16:26:32 12812 TadxReceiverWindow.AddReceiverCustomMessage(TWordEditorHideMessage)6
02/04/2019 16:26:32 12812 TadxReceiverWindow.AddReceiverCustomMessage(THideWindowMessage)5
02/04/2019 16:26:32 12812 TadxReceiverWindow.AddReceiverCustomMessage(TDeleteEmulateWindowMessage)4
02/04/2019 16:26:32 12812 TadxReceiverWindow.AddReceiverCustomMessage(THideSearchWindowMessage)3
02/04/2019 16:26:32 12812 TadxReceiverWindow.AddReceiverCustomMessage(TShowSearchWindowMessage)2
02/04/2019 16:26:32 12812 TadxReceiverWindow.AddReceiverCustomMessage(TRefreshFolderMessage)1
02/04/2019 16:26:32 12812 CheckSocialConnectorAddinConnection
02/04/2019 16:26:32 12812 TadxOlFormsManager.DoAddInInitialize
02/04/2019 16:26:32 12812 Event: OnAddInInitialize
02/04/2019 16:26:32 12812 TadxOlFormsCollectionItem.DeleteAllForms 0
02/04/2019 16:26:32 12812 TadxOlFormsManager.ExplorerFormsHideShow
02/04/2019 16:26:32 12812 TadxOlFormsCollectionItem.DeleteNotVisibleForms
02/04/2019 16:26:32 12812 CREATE MUTEX 00006418
02/04/2019 16:26:32 12812 TadxOlFormsManager.Create
Best regards...
Mirko |
|
Andrei Smolin
Add-in Express team
Posts: 18821
Joined: 2006-05-11
|
Hello Mirko,
The exception occurs in the constructor of the ADX form. We suppose the issue is caused by a DeveExpress component that expects that the Application object is initialized. To check this, please add a standard form (TForm) to your project and populate it with the DeveExpress components used on your pane. Add a test Ribbon button and show the form in the Click event of the button. Does the issue persist?
Andrei Smolin
Add-in Express Team Leader |
|
MirkoB
Guest
|
Hi Andrej,
so actual status is:
Without a devexpress control the normal vcl form is coming up correctly.
With devexpress (cxgrid and cxtextedit) the form is not showing and throws and exception on creation.
Best regards
Mirko |
|
Andrei Smolin
Add-in Express team
Posts: 18821
Joined: 2006-05-11
|
Hello Mirko,
We suggest that you contact DevExpress to inform them that opening a form containing cxgrid and cxtextedit from a DLL loaded in Outlook fires an exception. To check this they could create an ActiveX library providing a method; they could create an instance of that ActiveX in a VBA macro and call that method. Alternatively, they could create a DLL exporting a test method, write a VBA declaration of that method and call that method from a VBA macro.
Andrei Smolin
Add-in Express Team Leader |
|
MirkoB
Guest
|
Hello Andrei,
thanks for the advice.
I am going to contact Devexpress providing them with the infos you gave me.
Best regards
Mirko |
|
Andrei Smolin
Add-in Express team
Posts: 18821
Joined: 2006-05-11
|
Hello Mirko,
Feel free to write us if you need our assistance in solving this issue.
Andrei Smolin
Add-in Express Team Leader |
|