Debug Office with long path

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

Debug Office with long path
Debug Office with long path 
Karim




Posts: 170
Joined: 2006-01-02
Hello,

Following an update of Office I had lost the possibility of debugging my dll which is in a long way unfortunately the solution that I had found in this link (https://www.add-in-express.com/forum/read.php?FID=1&TID=14305) seems to no longer work. On the other hand I found another procedure that does not use the previous one and that seems better

Here's the procedure to follow and that worked for me
Config: W10 + Delphi 10.1 and Office 2016 64 bits

1) Build the dll in debug mode
2) Go to C: \ Program Files \ Microsoft Office \ root \ Office16 to right-click on WINWORD.EXE and "execute as administrator"
3) In word go in File -> Options -> Complement -> click on the button to reach and add the dll with the button "Add"

4)Now, breakpoint should work. After this, if the dll is built for Excel and Powerpoint it is useless to redo the manipulation.

Warning I noticed that if you do an update of Office you have to redo the manipulation

I hope that this procedure will help you !

Karim
Posted 23 Sep, 2017 07:54:51 Top
Andrei Smolin


Add-in Express team


Posts: 18830
Joined: 2006-05-11
Hello Karim,

We can't reproduce this issue.

We can only suggest using a short path or attaching to the process. Also, you can use different settings in Debug in Release modes.


Andrei Smolin
Add-in Express Team Leader
Posted 25 Sep, 2017 06:47:04 Top
Karim




Posts: 170
Joined: 2006-01-02
Hi Andrei,

I have no problem. I just wanted to share the solution that worked for me
Posted 25 Sep, 2017 06:52:16 Top
Andrei Smolin


Add-in Express team


Posts: 18830
Joined: 2006-05-11
Ah, I see. Thank you for your help!


Andrei Smolin
Add-in Express Team Leader
Posted 25 Sep, 2017 08:04:20 Top