Serving the Quantitative Finance Community

 
User avatar
JBxll
Topic Author
Posts: 0
Joined: October 23rd, 2002, 2:20 pm

including math.h problem in excel

October 23rd, 2002, 2:44 pm

Hi Guy's,I created a xll file which includes math.h in the cpp code. The cpp code registers and exports some functions to excel. The compiled excel add-in (xll) installed in excel works fined on my own computer, BUT installed on a computer with a different OS or a different Excel version (can't test which obe) is gives #VALUE! This should make no difference.Does anyone has any clues on this subject???Juriaan
 
User avatar
jens
Posts: 0
Joined: July 14th, 2002, 3:00 am

including math.h problem in excel

October 23rd, 2002, 2:50 pm

Did you check the dependencies of your add-in dll? Maybe you need to distribute the MSVC run-time with your XLL or change your linker settings to use the static libs.Regards,Jens.
 
User avatar
JBxll
Topic Author
Posts: 0
Joined: October 23rd, 2002, 2:20 pm

including math.h problem in excel

October 25th, 2002, 10:42 am

The problem is solved. The registering process of my function conflicted with an existing function with the same name. Every works fine calling math.h and exporting function outputs to excel.ThanxJuriaan