Home |
Search |
Today's Posts |
#1
Posted to microsoft.public.excel.programming
|
|||
|
|||
functioning XLL not loading properly on other machines
I've created a small XLL add-in using Visual C++ 2008, and when I use
it on the development machine, it works perfectly fine. When I distribute it to the user who asked me to develop it, he can't get it to load on his machine. Based on my testing, it fails to load properly on any machine that does not have Visual Studio installed, but works perfectly fine on any machine that does have Visual Studio installed (even if it wasn't compiled on that machine). I suspect that it's a compiler switch that's set wrong or that the XLL is somehow dependent on a VS2008 file, but I have no idea what to look for (I'm not a professional programmer; I'm an engineer that's particularly proficient at programming, so there are significant gaps in my expertise). If anyone has any suggestions, I'd love to hear them. Thanks, Greg |
#2
Posted to microsoft.public.excel.programming
|
|||
|
|||
functioning XLL not loading properly on other machines
I is probably a DLL problems which are librarries. Visual Studio adds
libraries onto your PC when installed. You have to look at the complier options in visual Studios to include the compiled libraries into the EXE (excutable) code. I don't think it is a compiler option it is really a linker option when generate an EXE file. I don't have visual studio installed on my PC right now so I'm not sure where to look. I also remeber that you need to have the Professional version of visual Studio if you are going to distribute software. I went to maicrosoft.com and found these instructions to get into the Linker options. Open the project's Property Pages dialog box. For details, see Setting Visual C++ Project Properties. Click the Linker folder. Click the Advanced property page. You may want to try the FORCE option describe on this webpage http://msdn.microsoft.com/en-us/library/70abkas3.aspx "Aranthon" wrote: I've created a small XLL add-in using Visual C++ 2008, and when I use it on the development machine, it works perfectly fine. When I distribute it to the user who asked me to develop it, he can't get it to load on his machine. Based on my testing, it fails to load properly on any machine that does not have Visual Studio installed, but works perfectly fine on any machine that does have Visual Studio installed (even if it wasn't compiled on that machine). I suspect that it's a compiler switch that's set wrong or that the XLL is somehow dependent on a VS2008 file, but I have no idea what to look for (I'm not a professional programmer; I'm an engineer that's particularly proficient at programming, so there are significant gaps in my expertise). If anyone has any suggestions, I'd love to hear them. Thanks, Greg |
#3
Posted to microsoft.public.excel.programming
|
|||
|
|||
functioning XLL not loading properly on other machines
Also read this webpage for method of deployment
http://msdn.microsoft.com/en-us/library/zebw5zk9.aspx "Aranthon" wrote: I've created a small XLL add-in using Visual C++ 2008, and when I use it on the development machine, it works perfectly fine. When I distribute it to the user who asked me to develop it, he can't get it to load on his machine. Based on my testing, it fails to load properly on any machine that does not have Visual Studio installed, but works perfectly fine on any machine that does have Visual Studio installed (even if it wasn't compiled on that machine). I suspect that it's a compiler switch that's set wrong or that the XLL is somehow dependent on a VS2008 file, but I have no idea what to look for (I'm not a professional programmer; I'm an engineer that's particularly proficient at programming, so there are significant gaps in my expertise). If anyone has any suggestions, I'd love to hear them. Thanks, Greg |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Forum | |||
F2 key is not functioning properly | Excel Discussion (Misc queries) | |||
Do Until Loop not functioning properly | Excel Programming | |||
Do Until Loop not functioning properly | Excel Programming | |||
Read Only Not Functioning Properly | Excel Discussion (Misc queries) | |||
Workbooks.Open not functioning properly | Excel Programming |