Re: Calling a DLL
From: Jerry W. Lewis (post_a_reply_at_no_e-mail.com)
Date: 07/09/04
- Next message: Gav: "Re: Autosum"
- Previous message: Gav: "Autosum"
- In reply to: Augusto Afonso: "Calling a DLL"
- Messages sorted by: [ date ] [ thread ]
Date: Fri, 09 Jul 2004 11:53:16 GMT
http://support.microsoft.com/default.aspx?scid=kb;en-us;213554
may have some useful information. Your DLL must use _stdcall calling
convention, or you cannot use it. I have not experience with the CALL()
function, but using a VBA declaration and passing arguments ByVal has
worked well for me.
Jerry
Augusto Afonso wrote:
> Hi All,
>
> I'm trying to call a dll from within Excel 2000. This is what I´m doing:in
> cell B1 I include this code: =CALL("MyDll";"Mult";"JJJ!";C1;D1)
> in C1 and C2 there are any integers.
>
> what I get is the FALSE word in cell B1.
>
> Inside the DLL there is only one function (Mult) that multiplies two
> integers and returns another integer. It works ok out of excel.Any comments
> are welcome.Augusto.
- Next message: Gav: "Re: Autosum"
- Previous message: Gav: "Autosum"
- In reply to: Augusto Afonso: "Calling a DLL"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|