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

How to fill five years of quarters?
Type 1Q-2023 in a cell. Grab the fill handle and drag down or right. After 4Q-2023, Excel will jump to 1Q-2024. Dash can be any character.
Does it have to do with DLL registration? Does anyone have any advice how to do that?
 
Upvote 0

Forum statistics

Threads
1,214,785
Messages
6,121,543
Members
449,038
Latest member
Guest1337

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