functioning XLL not loading properly on other machines

A

Aranthon

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
 
J

joel

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
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top