3 ms·
I once built a MS Excel add-in in C++ that worked perfectly when compiled by Visual Studio in debug mode but would not run when compiled in release mode. Obviou
by benp84 10y ago
I once built a MS Excel add-in in C++ that worked perfectly when compiled by Visual Studio in debug mode but would not run when compiled in release mode. Obviously, debugging in release mode was a huge pain.
Long story short: at some point Excel stores the file path of the add-in in a string with (for some reason) a max length of 128. The file path "C:/.../Debug/addin.xll" totaled 127 characters and the path "C:/.../Release/addin.xll" was 129.