Add-ins now crash latest Excel 2016 (click-to-run) May update

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

Add-ins now crash latest Excel 2016 (click-to-run) May update
 
gui




Posts: 3
Joined: 2016-05-11
Hello,

We built several Excel add-ins with Add-in Express Pro edition (release 8.0.1431) and Delphi XE 10 Seattle.

Until Excel May update, everything was working like a charm. But then we started getting complaints from some customers about access violations in our add-in DLL files.

When you study the May Update log of Microsoft, this could be the problem:

32-bit version of Microsoft Excel 2016 can take advantage of the Large Address Aware (LAA) functionality after installation of the May 3, 2016, update for Office 365 for Windows, build 16.0.6868.2060 for O365 Current Channel subscribers. This change lets 32-bit Excel 2016 consume double the memory when users work on a 64-bit Windows operating system. The system provides this capability by increasing the user mode virtual memory from 2 gigabytes to 4 gigabytes. This change provides 50 percent more memory (for example, from 2 gigabytes to 3 gigabytes) when users work on a 32-bit Windows system.


We could get similar crash problems with a fresh new blank add-in in Excel 2016 on Windows 7 x64.
It only happens if we use the 32-bit click-to-run version of Excel 2016 that offers the Large Address Aware flag now.
To reproduce, load a COM add-in with the "COM add-ins" dialog. Close Excel and restart it. Choose the "COM add-ins" dialog again and the add-in is disabled. Sometimes, when you do this, Excel can crash or it will complain about the faulty add-in.

It looks like there is somewhere in the Add-in Express VCL edition code some pointer bug that corrupts Excel memory.

I hope you can find out what's happening and first reproduce the bug on your side. It's really specific to the new Excel release...

Thank you!

gui
Posted 11 May, 2016 09:34:21 Top
Alexander Solomenko


Add-in Express team


Posts: 117
Joined: 2009-02-27
Hi gui,

We have already fixed this bug, and it is not related to LAA. The fix will be included in the upcoming release, which is scheduled for the next week.

Best regards,
Alexander Solomenko
Add-in Express Ltd.
Regards,
Aleksandr Solomenko
Posted 12 May, 2016 08:28:45 Top
gui




Posts: 3
Joined: 2016-05-11
Hi Aleksandr,

Good news indeed, I'm looking forward to the new release.

Thank you!
Posted 12 May, 2016 11:36:38 Top
Andrei Smolin


Add-in Express team


Posts: 14094
Joined: 2006-05-11
Hello,

We've published the new build. Please see https://www.add-in-express.com/downloads/adxvcl.php.

Regards from Belarus (GMT+3),

Andrei Smolin
Add-in Express Team Leader
Posted 20 May, 2016 04:25:17 Top
gui




Posts: 3
Joined: 2016-05-11
Thank you, I installed the new build and the add-in doesn't disappear on next time
Posted 31 May, 2016 02:11:20 Top
Andrei Smolin


Add-in Express team


Posts: 14094
Joined: 2006-05-11
Thank you for letting us know!

Regards from Belarus (GMT+3),

Andrei Smolin
Add-in Express Team Leader
Posted 31 May, 2016 02:47:10 Top