Click here to Skip to main content
15,887,331 members
Home / Discussions / COM
   

COM

 
AnswerRe: How do I programmatically change the Configuration Permissions on a DCOM Object? Pin
raven8er29-Mar-09 22:34
raven8er29-Mar-09 22:34 
QuestionHelp with serial scanner to PC connection? Pin
TonyTrokodero26-Mar-09 9:05
TonyTrokodero26-Mar-09 9:05 
AnswerRe: Help with serial scanner to PC connection? Pin
«_Superman_»28-Mar-09 18:23
professional«_Superman_»28-Mar-09 18:23 
QuestionActiveX in IE Pin
Member 471608725-Mar-09 20:54
Member 471608725-Mar-09 20:54 
QuestionAsserting in afxwin1.inl Line: 29 Pin
vibindia24-Mar-09 20:57
vibindia24-Mar-09 20:57 
AnswerAlmost impossible to tell Pin
Baltoro29-Mar-09 10:55
Baltoro29-Mar-09 10:55 
QuestionCustomize context menu of Outlook Express Pin
Crazy Kiya re24-Mar-09 18:05
Crazy Kiya re24-Mar-09 18:05 
QuestionProblem calling C++ DLL from Excel Pin
gvanto24-Mar-09 16:10
gvanto24-Mar-09 16:10 
I am trying to access a c++ created DLL from within Excel, with semi-success only:

I've followed the following tutorial EXACTLY: http://newtonexcelbach.wordpress.com...ng-excel-to-c/

Now, when I try and use the dll-functions that I've declared in the VB code, the function GetPrice(), which takes no arguments and simply returns a number, works fine.

However, as soon as I create a dll-function which takes input arguments, I get a #VALUE error in the cell in Excel ("A value used in formula is of the wrong data type" ).
I've downloaded the complete sample from the URL above and get the same error when running it (after recalculating the formulas).

I've created a test 'proxy' function (in which the code can be stepped through, which calls the dll function) to ensure that values sent to the dll function are indeed of type double and that seems to be the case ...

This guy seems to have had the same problem, however no solution was posted:
http://www.ozgrid.com/forum/showthread.php?t=54245[^]

Any help / tips would be greatly appreciated!
g
excell dll newbie

Find Your Dream Job in Australia, Free!
http://www.WebCV.com.au

QuestionError Pin
boy_16097824-Mar-09 7:54
boy_16097824-Mar-09 7:54 
AnswerWrong Forum Pin
Baltoro29-Mar-09 10:36
Baltoro29-Mar-09 10:36 
QuestionAccess method of COM components through ASP gives error Pin
Member 259548824-Mar-09 2:04
Member 259548824-Mar-09 2:04 
QuestionHow should I declare jagged arrays to expose them to VB6/VBScript?? Pin
Martha Jamer23-Mar-09 13:02
Martha Jamer23-Mar-09 13:02 
AnswerRe: How should I declare jagged arrays to expose them to VB6/VBScript?? [modified] Pin
Vi224-Mar-09 23:16
Vi224-Mar-09 23:16 
QuestionOffice12 COM addin question Pin
MumbleB20-Mar-09 6:55
MumbleB20-Mar-09 6:55 
AnswerRe: Office12 COM addin question Pin
Baltoro21-Mar-09 8:19
Baltoro21-Mar-09 8:19 
GeneralRe: Office12 COM addin question Pin
MumbleB24-Mar-09 2:32
MumbleB24-Mar-09 2:32 
GeneralRe: Office12 COM addin question Pin
Baltoro27-Mar-09 6:03
Baltoro27-Mar-09 6:03 
Questionproblem in implementing security on contact smartcard in VC++6 Pin
aditi kauts20-Mar-09 0:23
aditi kauts20-Mar-09 0:23 
AnswerRe: problem in implementing security on contact smartcard in VC++6 Pin
ray_rash2-Jul-09 23:37
ray_rash2-Jul-09 23:37 
Questionbutton image in activex Pin
aysl18-Mar-09 9:41
aysl18-Mar-09 9:41 
AnswerRe: button image in activex Pin
Jonathan Davies19-Mar-09 1:23
Jonathan Davies19-Mar-09 1:23 
GeneralRe: button image in activex Pin
aysl19-Mar-09 2:46
aysl19-Mar-09 2:46 
GeneralRe: button image in activex Pin
Jonathan Davies19-Mar-09 3:08
Jonathan Davies19-Mar-09 3:08 
GeneralRe: button image in activex Pin
aysl19-Mar-09 3:27
aysl19-Mar-09 3:27 
GeneralRe: button image in activex Pin
Jonathan Davies19-Mar-09 4:13
Jonathan Davies19-Mar-09 4:13 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.