Word crashes in wwlib.dll

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

Word crashes in wwlib.dll
 
Samuel Hofer




Posts: 25
Joined: 2012-10-19
Hi,

I'm not sure whether this is an Add-in Expres issue or not.

We've implemented the IMsoDocExporter interface to create a customized export of Word documents. See: http://msdn.microsoft.com/en-us/library/aa338206%28v=office.12%29.aspx

Everything works well with a 64bit version of Word. But with a 32bit version of Word it crashes in the wwlib.dll (0xc0000005 Access Violation) just before the Document.ExportAsFixedFormat() call returns.

We already invested many hours to find the source the problem but without success. Any ideas how to fix that error?

If it helps I can provide a minimal test project where the error occurs.

Samuel
Posted 26 Jun, 2014 08:33:58 Top
Andrei Smolin


Add-in Express team


Posts: 18821
Joined: 2006-05-11
Hello Samuel,

Please send us the test project to the support email address, see readme.txt.

What Word version are you using?


Andrei Smolin
Add-in Express Team Leader
Posted 26 Jun, 2014 09:59:12 Top
Samuel Hofer




Posts: 25
Joined: 2012-10-19
Hi Andrei,

I sent the test project and a report of the error.

We've tested it on various Word versions. It did't work with Word 2007 32bit, Word 2010 32bit and Word 2013 32bit.

It works on Word 2013 64bit.

Samuel
Posted 26 Jun, 2014 10:28:05 Top
Andrei Smolin


Add-in Express team


Posts: 18821
Joined: 2006-05-11
I've received the files. I'll let you know when I have any news.


Andrei Smolin
Add-in Express Team Leader
Posted 26 Jun, 2014 10:34:11 Top
Andrei Smolin


Add-in Express team


Posts: 18821
Joined: 2006-05-11
Hello Samuel,

The add-in works fine in Word 2013 32bit, 15.0.4623.1000. I click the button for new empty document created at startup.


Andrei Smolin
Add-in Express Team Leader
Posted 27 Jun, 2014 05:57:38 Top
Samuel Hofer




Posts: 25
Joined: 2012-10-19
Hello Andrei,

Did you click through all message boxes? It crashes after "FinishDocument".

Samuel
Posted 27 Jun, 2014 06:25:15 Top
Andrei Smolin


Add-in Express team


Posts: 18821
Joined: 2006-05-11
The last message I receive is:

---------------------------

---------------------------
Export abgeschlossen.
---------------------------
OK
---------------------------


Andrei Smolin
Add-in Express Team Leader
Posted 27 Jun, 2014 06:30:41 Top
Andrei Smolin


Add-in Express team


Posts: 18821
Joined: 2006-05-11
I suggest that you disable other COM add-ins and check if this solves the issue.


Andrei Smolin
Add-in Express Team Leader
Posted 27 Jun, 2014 06:32:21 Top
Samuel Hofer




Posts: 25
Joined: 2012-10-19
We already tried that.

Is it possible that the installer is the problem? I read something that on a 64bit Windows a 64bit installer may write entries to the wrong part of the registry in case of a 32bit application.

On our developer machines are everywere 64bit versions of Office installed. So we were not able to test it on a developer machine directly with a 32bit Word.

Samuel
Posted 27 Jun, 2014 06:38:52 Top
Andrei Smolin


Add-in Express team


Posts: 18821
Joined: 2006-05-11
I've reproduced the crash after building the setup project and installing the add-in; in my tests I've just registered the add-in from the VS IDE.


Andrei Smolin
Add-in Express Team Leader
Posted 27 Jun, 2014 07:02:36 Top