Prob with Delphi XE2 SP4

Add-in Express™ Support Service
That's what is more important than anything else

Prob with Delphi XE2 SP4
 
Karim




Posts: 161
Joined: 2006-01-02
Hi,

When i create a basic Addin-ins for Word and Excel 2007 it works fine when i compile it with Delphi XE2 SP3

but i have "Access violation" or error when i create it with DELPHI XE2 SP4.

Thanks

Karim
Posted 08 Mar, 2012 09:24:21 Top
Dmitry Kostochko


Add-in Express team


Posts: 2741
Joined: 2004-04-05
Hi Karim,

I have just created a new add-in project using Delphi XE2 SP4 and Add-in Express for Office and VCL 7.0.1210. I don't see any errors. Could you please provide more information about the issue? Do you get the "Access violation" error during creating a new project? Or do you get the error at run-time, when your code is executed in Word and Excel?
Posted 08 Mar, 2012 10:11:04 Top
Karim




Posts: 161
Joined: 2006-01-02
Hi Dmitry,

I use Add-in Express for Office and VCL 7.0.1210. I get error at run-time and immédiately when i open word document. I haven't problem with excel.
I try with several project and i have same problem. This occurred after updating to DELPHI XE2 SP3 to SP4



Signature du problème :
Nom d’événement de problème: APPCRASH
Nom de l’application: WINWORD.EXE
Version de l’application: 12.0.6545.5000
Horodatage de l’application: 4c653e57
Nom du module par défaut: KERNELBASE.dll
Version du module par défaut: 6.1.7601.17651
Horodateur du module par défaut: 4e211319
Code de l’exception: 0eedfade
Décalage de l’erreur: 0000b9bc
Version du système: 6.1.7601.2.1.0.256.1
Identificateur de paramètres régionaux: 1036

Informations supplémentaires sur le problème :
LCID: 1036
Brand: Office12Crash
skulcid: 1036
Posted 08 Mar, 2012 11:00:42 Top
Dmitry Kostochko


Add-in Express team


Posts: 2741
Joined: 2004-04-05
Hi Karim,

Thank you for the details, we have just reproduced the issue. At first sight it looks like Delphi XE2 Update 4 introduced a new bug because the exception occurs in the Vcl.OleServer.TServerEventDispatch.Invoke method. We will investigate this issue, at the moment I can suggest uninstalling Update 4 and using Delphi XE2 with Update 2 or Update 3.
Posted 09 Mar, 2012 09:30:57 Top
Dmitry Kostochko


Add-in Express team


Posts: 2741
Joined: 2004-04-05
Hi Karim,

We investigated the issue, the bug turned out to be in the EventDispatchInvoke function of the System.Win.ComObj unit. I have just submitted a new bug report to Embarcadero QualityCantral, QC104158.

During our testing we also found a workaround, please let me know if you need the details.
Posted 14 Mar, 2012 06:25:44 Top
nick amel




Posts: 11
Joined: 2005-02-18
Dmitry,

Is it possible to reply with the work around....?
I run into same issue
Posted 22 Mar, 2012 07:54:53 Top
Dmitry Kostochko


Add-in Express team


Posts: 2741
Joined: 2004-04-05
Hi Nick,

The core of the workaround is in modifying the code of the System.Win.ComObj.pas source file. I don't think the forum is the right place for publishing the modified sources of Embarcadero, I will send you an email with description and instructions.
Posted 22 Mar, 2012 10:37:58 Top
Dmitry Kostochko


Add-in Express team


Posts: 2741
Joined: 2004-04-05
Hi Nick,

Please contact me by email (you can find our support email address in the readme.txt file located in the Add-in Express installation folder), my message to you has just bounced back, rejected by your email server.
Posted 22 Mar, 2012 10:53:18 Top
nick amel




Posts: 11
Joined: 2005-02-18
Dmitry,

I've already patched system.Win.ComObj.pas and everything looks fine.

Thank you.
Posted 26 Mar, 2012 02:00:40 Top
nick amel




Posts: 11
Joined: 2005-02-18
PS i have also updated my forum e-mail address
Posted 26 Mar, 2012 02:02:55 Top