Posted by
eric ehlers on
May 18, 2005; 3:42am
URL: http://quantlib.414.s1.nabble.com/Trouble-getting-QuantLibAddin-to-work-with-vc-7-1-tp10802p10803.html
On 5/17/05, Plamen Neykov <
[hidden email]> wrote:
> Hi All,
>
> I'm having considerable trouble to get the QuantLibAddin (the Excel add-in) to
> work. I'm using vc 7.1 and the add-in is crashing exactly as described in
> Microsoft Knowledge Base Article ID 198477
> (
http://support.microsoft.com/kb/198477 ) It is crashing in TempStr as it
> tries to change the first character of a string. I've for sure changed in all
> projects the /ZI switch to /Zi and rempiled everything but still have the
> same problem. Strange is that the add-in crashes also in the release config
> (as by microsoft this should occur only with the debug config). Does anyone
> know how to get this problem solved?
>
> Thanks in advance
> Plamen
Hi Plamen
I'm not aware of a situation where the modification of a literal
string causes an access violation in the absence of string pooling
(/ZI, /GF).
You could try visiting
http://office.microsoft.com and installing any
available bugfixes for your copy of Excel.
Some other thoughts -
- QuantLibAddin ships the Excel project with string pooling disabled
and it shouldn't be necessary to disable it in related projects
- You should be using QuantLib 0.3.9 plus the latest CVS snapshots of
ObjectHandler and QuantLibAddin
- For ObjectHandler and QuantLibAddin the VC7/8 workspaces are updated
only for releases, when using VC7 against a CVS snapshot you should
upgrade the VC6 workspace.
Regards,
Eric