View Single Post
  #6   Report Post  
Posted to microsoft.public.excel.programming
joel[_243_] joel[_243_] is offline
external usenet poster
 
Posts: 1
Default add-in / dll import function


As I said before. The DLL need two function. One when called from
C-Language and one from VBA. Something like this


Myfunction(c language parameter list)

'You code here

end


MyfunctionA(standard parameter list)

'enter any conversion code required.
Call Myfunction(C language paremter list)

end

Call Myfunction when using from C -language. Call MyfunctionA when
calling from VBA. This is what the standard Dll's to in the
windows/system32 folder.


--
joel
------------------------------------------------------------------------
joel's Profile: http://www.thecodecage.com/forumz/member.php?userid=229
View this thread: http://www.thecodecage.com/forumz/sh...d.php?t=150545

Microsoft Office Help