Debug Exception using TadxOlFormsManager
I got a debug Exception using TadxOlFormsManager - Index Not Valid
|
Fran59
Guest
|
Hello,
When I use TadxOlFormsManager I got a debug exception "Index Not Valid",
( no problem if I'm not in debug )
Workarround : I said delphi to Ignore this exception.
I like to understand what I do , that why i ask someone to help me to understand why the exception append.
I try to fix it with a very simple project. see below.
unit dllTestOutlook_IMPL;
interface
uses
SysUtils, ComObj, ComServ, ActiveX, Variants, Outlook2000, Office2000, adxAddIn, dllTestOutlook_TLB, StdVcl,
System.Classes, adxolFormsManager;
type
TcoTestOutlook = class(TadxAddin, IcoTestOutlook)
end;
TAddInModule = class(TadxCOMAddInModule)
adxOlFormsManager1: TadxOlFormsManager;
private
protected
public
end;
implementation
{$R *.dfm}
initialization
TadxFactory.Create(ComServer, TcoTestOutlook, CLASS_coTestOutlook, TAddInModule);
end.
|
|
Posted 16 Jul, 2012 13:56:16
|
|
Top
|
|
Andrei Smolin
Add-in Express team
Posts: 18826
Joined: 2006-05-11
|
Hello,
Can you send us the project? Please find the support email address in {Add-in Express installation folder}\readme.txt. And make sure your email contains a link to this topic.
Also, please provide me with build numbers of Add-in Express and Office. What Windows service pack and Delphi update pack are you using?
Andrei Smolin
Add-in Express Team Leader |
|
Posted 17 Jul, 2012 01:48:24
|
|
Top
|
|
Andrei Smolin
Add-in Express team
Posts: 18826
Joined: 2006-05-11
|
Francois,
|Thank you for sending your project.
I cannot reproduce the exception your DLL is registered on a system with Outlook 2007. According to the About window this is Outlook 2007 (12.0.6661.5003) SP3 MSO (12.0.6607.1000). If you have an older Outlook 2007, please install missing updates. If, however you installed some hotfix, please point me to this hotfix.
Andrei Smolin
Add-in Express Team Leader |
|
Posted 18 Jul, 2012 10:02:55
|
|
Top
|
|
Fran59
Guest
|
Hello Andrei,
I confirm you my version of Outlook is exactly the following :
Outlook 2007 (12.0.6661.5003) SP3 MSO (12.0.6607.1000).
The difference should be :
- OS : I use Windows 7 64 bits
- Delphi : I use Delphi??? XE2 Version 16.0.4504.48759
Did you check on your side the delphi exception list : do you have inside "EOleException" ?
Regards ,
Fran?ois |
|
Posted 18 Jul, 2012 12:46:35
|
|
Top
|
|
Andrei Smolin
Add-in Express team
Posts: 18826
Joined: 2006-05-11
|
|
Posted 19 Jul, 2012 09:00:05
|
|
Top
|
|
Fran59
Guest
|
Andrei,
Thanks for your feedback,
But what do you mean with "filed down as #4186" ?
Regards from France
Fran?ois |
|
Posted 20 Jul, 2012 05:33:29
|
|
Top
|
|
Andrei Smolin
Add-in Express team
Posts: 18826
Joined: 2006-05-11
|
Francois,
I should have said this earlier: #4186 is an identifier of the issue in our internal bug-tracking DB. Filing the case down means that it wasn't our intention that you get these exceptions. If this is a bug in our code, it will be fixed (if it can be fixed). Then we will publish a build containing the fix and you will find #4186 in the section FIXED in whatsnew.txt.
Andrei Smolin
Add-in Express Team Leader |
|
Posted 20 Jul, 2012 05:50:52
|
|
Top
|
|