excel guru's please help c++ dll not found error #value! on target machine

axg275

Active Member
Joined
Oct 5, 2004
Messages
308
Hi excel Gurus

hopefully one of you guys can help me and my friend.

I have written dll in C++ and using it in excel on my computer NO problem at ALL

I followed this tutorial A function defined in C++ and passed on to Excel : a DLL example | Quant Corner


when I gave the DLL to my friend and set up "Declare Function" on his PC same exact way quadruple checked syntax word for word. Dll is in the same location on his pc everything is the same.

He get #Value!

we then wrote subroutine to call function from and put in err.Debug msgbox we see that the error it gives us is the DLL not found....

We really dont understand what is going on... Tired for hours searching google with no help.

Can someone suggest what we may be doing wrong or what we should try?


Thank you very very much in advance
 

Excel Facts

Is there a shortcut key for strikethrough?
Ctrl+S is used for Save. Ctrl+5 is used for Strikethrough. Why Ctrl+5? When you use hashmarks to count |||| is 4, strike through to mean 5.
Does it have to do with DLL registration? Does anyone have any advice how to do that?
 
Upvote 0

Forum statistics

Threads
1,215,401
Messages
6,124,705
Members
449,182
Latest member
mrlanc20

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top