Hi Luigi, - the QuantLib version I'm using is 0.3.4 (currently using the debug libraries)
Handle<CalibrationHelper> hCapHelper(new CapHelper(volaLength[i],
I get the following message in the Output Window: "First-chance exception in EXCEL.EXE (KERNEL32.DLL): 0xE06D7363: Microsoft C++ Exception." The execution of the code then continues with no further problems until the end of the function. However when I step out of the function the debugger ends up pointing to some assembly code (presumably the Excel stuff) and I have to give up! Continuing further the execution the Excel dialog box error window pops up with the message I reported in the previous message. Thanks for help. Luca -----Messaggio originale-----
On 2004.03.24 11:21, Berardi Luca wrote:
Luca,
Later,
DISCLAIMER: Privileged/Confidential Information may be contained in this message and in any of its attachments (the "message"). If you are not the addressee indicated in this message (or responsible for delivery of the message to such person), you may not copy or deliver this message to anyone. In such case, you should destroy this message and kindly notify the sender by reply e-mail. The contents of this message shall be understood as neither given nor endorsed by Banca Profilo S.p.A., nor Profilo SGR S.p.A., nor Profilo Asset Management SGR S.p.A., nor Profilo Academy S.p.A.. Banca Profilo S.p.A., Profilo SGR S.p.A., Profilo Asset Management SGR S.p.A., Profilo Academy S.p.A. do not accept liability for corruption, interception or amendment, if any, or the consequences thereof. Il presente messaggio e/o i suoi allegati (di seguito il "messaggio") possono contenere informazioni privilegiate e/o confidenziali. Se non siete i destinatari indicati nel messaggio (o persona incaricata di inoltrare il messaggio al/i destinatario/i), non potete copiare o inoltrare il messaggio ad altri e siete invitati a distruggerlo dandone informazione al mittente a mezzo e-mail. Il contenuto del presente messaggio non deve essere considerato come trasmesso o autorizzato nè da Banca Profilo S.p.A., nè da Profilo SGR S.p.A., nè da Profilo Asset Management SGR S.p.A., nè da Profilo Academy S.p.A.. Nè Banca Profilo S.p.A., nè Profilo SGR S.p.A., nè Profilo Asset Management SGR S.p.A., nè Profilo Academy S.p.A. si assumono alcuna responsabilità per eventuali intercettazioni, modifiche o danneggiamenti del presente messaggio e-mail e per le eventuali conseguenze. |
On 2004.03.24 12:34, Berardi Luca wrote:
> - the QuantLib version I'm using is 0.3.4 (currently using the debug > libraries) > - when I step through the code in the Visual Studio 6.0 Debugger, I > noticed that when each CapHelper is instantiated (pls refer to the > code I previously sent out) at the line: > > Handle<CalibrationHelper> > hCapHelper(new CapHelper(volaLength[i], > rhMarketElement,index, rhTermStructure)); > I get the following message in the Output Window: "First-chance > exception in > EXCEL.EXE (KERNEL32.DLL): 0xE06D7363: Microsoft C++ Exception." Luca, can you step into the CapHelper instantiation? After executing the line above, does the Handle contain a non-null pointer? Also, how does your code work if you use it without Excel in the picture---say, if you write a short main() to test it? Later, Luigi |
Free forum by Nabble | Edit this page |