View Single Post
  #2   Report Post  
Posted to microsoft.public.excel.programming
joel[_104_] joel[_104_] is offline
external usenet poster
 
Posts: 1
Default IS there a fix for DLL not referencing from VBA.. IF not get one p


There is no reson why you can't reference any file or DLL in VBA excel.
there must be an error in your deinition of the DLL or usage of the dll
to get anyn error. I suspect either you are using the wrong entry point
for thehdll or the wrong type of variable for the dll. I lot of dll
have more than one entry point depending on the language that is calling
the dll. some dll have one enty point "abc" and a 2nd "abcA". Another
common problem is the stack definition. There are two methods of
passing the call stack to a dll. the STANDARD method and the C-Language
method. Depending on the compiling options of the dll depends on which
method is used. That is why there are two entry points in the dll to
handle both cases.


--
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=148125