Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default 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   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 9,101
Default 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   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 9,101
Default 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
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
F2 key is not functioning properly [email protected] Excel Discussion (Misc queries) 4 May 9th 07 06:12 PM
Do Until Loop not functioning properly MB Excel Programming 0 January 30th 07 04:06 PM
Do Until Loop not functioning properly Gord Dibben Excel Programming 0 January 23rd 07 10:30 PM
Read Only Not Functioning Properly Shelagh Excel Discussion (Misc queries) 0 April 21st 06 10:24 AM
Workbooks.Open not functioning properly Intikhab Bashir Excel Programming 3 August 18th 04 11:55 AM


All times are GMT +1. The time now is 06:09 AM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"