Login  Register

FW: Re: quantlib & Excel

Posted by Luis Pereira-3 on Mar 18, 2002; 12:55pm
URL: http://quantlib.414.s1.nabble.com/FW-Re-quantlib-Excel-tp1922.html

Hi,

I really can't put the test sample to work.
I'm sure it has to do with Project Settings or dependences or the way files
are organized in the workspace.

Can anyone be so kind to state the steps (step by step) that make the
implementation work in your own machines (MS Visual C++).

Thanks in advance,
Luís Pereira


>  -----Original Message-----
> From: Luis Pereira  
> Sent: Segunda-feira, 18 de Março de 2002 9:49
> To: '[hidden email]'
> Subject: Re: [Quantlib-users] quantlib & Excel
>
> Hi all,
>
> I downloaded the c++ wrapper (http://www.ifrance.com/xlw/) which seems
> exactly whar I need. I tryed to compile the test project with Visual C++
> 6.0
> with the stated options namely compile and link the dll in multi-threaded
> mode, but I get
> several errors like the below ones.
>
> It´s probably the dependencies. I looked onto Project|Dependencies and I
> do not have any dependences.
> How can I include Excel32.lib as a dependence?
>
> Thanks in advance,
> Luís Pereira
>
> main.obj : error LNK2001: unresolved external symbol "public: __thiscall
> XlfOper::~XlfOper(void)" (??1XlfOper@@QAE@XZ)
> main.obj : error LNK2001: unresolved external symbol "public: __thiscall
> XlfOper::operator struct xloper *(void)" (??BXlfOper@@QAEPAUxloper@@XZ)
> main.obj : error LNK2001: unresolved external symbol "public: __thiscall
> XlfOper::XlfOper(double)" (??0XlfOper@@QAE@N@Z)
> main.obj : error LNK2001: unresolved external symbol "public: double
> __thiscall XlfOper::AsDouble(void)const " (?AsDouble@XlfOper@@QBENXZ)
> main.obj : error LNK2001: unresolved external symbol "public: void
> __thiscall XlfExcel::FreeMemory(void)" (?FreeMemory@XlfExcel@@QAEXXZ)
....................
> test.xll - 24 error(s), 0 warning(s)