View Single Post
  #4   Report Post  
Posted to microsoft.public.excel.programming
BigBrother BigBrother is offline
external usenet poster
 
Posts: 8
Default Using C++ dll in Excel

Ahasverus,

It works!!!! Thanks a lot!!! Whoever you are, you are a good person!!!:))

"Ahasverus" wrote:


Hello,

Try to compile your DLL with the /Mt (release mode) or /Mtd (debug mode) option.
This will link your DLL statically with the runtime C++ library. Otherwise,
the DLL can't work if the runtime MSVCR80.dll is not present on the PC.

HTH

BigBrother a écrit :
Hi,

I built a .dll in VS2005/C++ for MS-Excel. It works fine on my PC and
other PC's that have the same VS2005/C++. It does not work on PCs that do
not have VS2005/C++ or even on my PC when I uninstall VS2005/C++. Any
suggestions on how to fix this?

Thanks a ton!