ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Programming (https://www.excelbanter.com/excel-programming/)
-   -   Function Pointer in VBA. (https://www.excelbanter.com/excel-programming/447158-function-pointer-vba.html)

Akihito Yamashiro[_2_]

Function Pointer in VBA.
 
This is not a question.
I summarized in the following URL about the way to use a function pointer in Excel VBA.
If you like, see it, please.

http://akihitoyamashiro.com/en/VBA/FunctionPointer.htm

RB Smissaert[_2_]

Function Pointer in VBA.
 
Any suggestions where this could be used with any advantage?

RBS


"Akihito Yamashiro" wrote in message
...
This is not a question.
I summarized in the following URL about the way to use a function pointer
in Excel VBA.
If you like, see it, please.

http://akihitoyamashiro.com/en/VBA/FunctionPointer.htm



Akihito Yamashiro[_2_]

Function Pointer in VBA.
 
Thank you for your interest in my post.
The two main advantages of the methods introduced in this post are the following.
1. The dll, which is written with the cdecl calling convention, can be called.
2. The dll's name can be set dynamically, allowing for the development of programs using plugins.
(The dll's name cannot be set dynamically within a declare function syntax.)

RB Smissaert[_2_]

Function Pointer in VBA.
 
OK, thanks, I can see now what you mean, except can't you call those dll's
from
VB(A) with a normal Declare?
Could you post a simple example showing some code that uses this that is
useful to
users of this forum.

RBS



"Akihito Yamashiro" wrote in message
...
Thank you for your interest in my post.
The two main advantages of the methods introduced in this post are the
following.
1. The dll, which is written with the cdecl calling convention, can be
called.
2. The dll's name can be set dynamically, allowing for the development of
programs using plugins.
(The dll's name cannot be set dynamically within a declare function
syntax.)




All times are GMT +1. The time now is 10:27 AM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
ExcelBanter.com