Hello all,
sorry for the newbie question, but I'm really stuck now! The Excel Add-In I created works fine on my development box but when tried on another machine, Excel said "is not a valid add-in". The details are as follows: Compiler: VC++ 7.1 QuanLib version 0.3.8 QuantLibXL version 0.3.8 XLW was checked out from the CVS repository. I tried to check out the build as on 2005-01-04 (which apparently was the one used to build the addin bundled with QuantLibXL 0.3.8) but the CVS checkout keeps failing. Everything compiled beautifully, but the final addin is not being loaded by Excel on some machines. This is very strange because the pre-packaged addin QuantLibXL-vc71-mt-s-0_3_8.xll loaded fine on all machines. The size of the original file was 1004KB. I get a file size of 872 KB. Also, if I try build just the XLWExample xll file, I get the exact same behaviour. I suppose I am using the wrong XLW version, and I can't seem to get hold of the correct one. Has anyone had this problem before? What am I doing wrong? Please help. TIA Sid ________________________________________________________________________ Yahoo! India Matrimony: Find your life partner online Go to: http://yahoo.shaadi.com/india-matrimony |
Make sure that you ship all MSVC DLL dependencies or link the run-time
statically. HTH, Jens. > -----Original Message----- > From: [hidden email] > [mailto:[hidden email]] On Behalf > Of Siddharth Sharma > Sent: Thursday, May 12, 2005 7:29 PM > To: [hidden email] > Subject: [Quantlib-users] QuantLibXL, XLW problems: Not a valid add-In > > > Hello all, > sorry for the newbie question, but I'm really stuck > now! The Excel Add-In I created works fine on my > development box but when tried on another machine, > Excel said "is not a valid add-in". The details are as > follows: > Compiler: VC++ 7.1 > QuanLib version 0.3.8 > QuantLibXL version 0.3.8 > XLW was checked out from the CVS repository. I tried > to check out the build as on 2005-01-04 (which > apparently was the one used to build the addin bundled > with QuantLibXL 0.3.8) but the CVS checkout keeps > failing. > > Everything compiled beautifully, but the final addin > is not being loaded by Excel on some machines. This is > very strange because the pre-packaged addin > QuantLibXL-vc71-mt-s-0_3_8.xll loaded fine on all machines. > The size of the original file was 1004KB. I get a file size > of 872 KB. Also, if I try build just the XLWExample xll file, > I get the exact same behaviour. I suppose I am using the > wrong XLW version, and I can't seem to get hold of the > correct one. Has anyone had this problem before? What am I > doing wrong? Please help. > > TIA > Sid > > > ______________________________________________________________ > __________ > Yahoo! India Matrimony: Find your life partner online > Go to: http://yahoo.shaadi.com/india-matrimony > > > ------------------------------------------------------- > This SF.Net email is sponsored by Oracle Space Sweepstakes > Want to be the first software developer in space? > Enter now for the Oracle Space Sweepstakes! > http://ads.osdn.com/?ad_id=7393&alloc_id=16281> &op=click > > _______________________________________________ > > Quantlib-users mailing list [hidden email] > https://lists.sourceforge.net/lists/listinfo/quantlib-users > > |
In reply to this post by Siddharth Sharma-3
When Excel displays that message, it usually means that one of the dll that
your program relies on is missing from your system. This is happening in your case because your excel add-in requires the latest runtime which you have linked to dynamically and the other machine probably doesn't have it (it comes with Visual Studio, so if the other machine doesn't have visual studio, most likely it doesn't have that version of the c runtime dll). In general, there is a free tool call Dependency Walker at http://www.dependencywalker.com/. It shows you all dll dependencies and shows you what's missing. It's useful for excel but also for a bunch of other situations! -----Original Message----- From: Siddharth Sharma [mailto:[hidden email]] Sent: Thursday, May 12, 2005 1:29 PM To: [hidden email] Subject: [Quantlib-users] QuantLibXL, XLW problems: Not a valid add-In Hello all, sorry for the newbie question, but I'm really stuck now! The Excel Add-In I created works fine on my development box but when tried on another machine, Excel said "is not a valid add-in". The details are as follows: Compiler: VC++ 7.1 QuanLib version 0.3.8 QuantLibXL version 0.3.8 XLW was checked out from the CVS repository. I tried to check out the build as on 2005-01-04 (which apparently was the one used to build the addin bundled with QuantLibXL 0.3.8) but the CVS checkout keeps failing. Everything compiled beautifully, but the final addin is not being loaded by Excel on some machines. This is very strange because the pre-packaged addin QuantLibXL-vc71-mt-s-0_3_8.xll loaded fine on all machines. The size of the original file was 1004KB. I get a file size of 872 KB. Also, if I try build just the XLWExample xll file, I get the exact same behaviour. I suppose I am using the wrong XLW version, and I can't seem to get hold of the correct one. Has anyone had this problem before? What am I doing wrong? Please help. TIA Sid ________________________________________________________________________ Yahoo! India Matrimony: Find your life partner online Go to: http://yahoo.shaadi.com/india-matrimony |
Free forum by Nabble | Edit this page |