View Single Post
  #1   Report Post  
Posted to microsoft.public.excel.programming
eLiNK[_2_] eLiNK[_2_] is offline
external usenet poster
 
Posts: 1
Default Calling functions from a xll library


Hi all,

I'm trying to call a function I have written in C.
My understanding is before I use a function from a dll library I shoul
declare it with the 'DECLARE FUNCTION' statement.
To access a function from an XLL, this statement is probably no
necessary as the XLL has a procedure registering all availabl
functions.

Given that my test function in C has the following syntax:
__declspec(dllexport) LPXLOPER TestFunction( LPXLOPER x, LPXLOPE
xArray, LPXLOPER yArray, short extrapFlag )
what would be the syntax of the VBA function to pass array data to th
TestFunction

--
eLiN
-----------------------------------------------------------------------
eLiNK's Profile: http://www.hightechtalks.com/m44
View this thread: http://www.hightechtalks.com/t230451