Calling DLL Functions

This content is no longer actively maintained. It is provided as is, for anyone who may still be using these technologies, with no warranties or claims of accuracy with regard to the most recent product version or service release.

Although calling DLL functions is in many ways similar to calling VBA functions, there are differences that may make DLL functions confusing at first. This section addresses how arguments are typed and prefixed in DLL functions, how to return a string, how to pass a data structure, what return values you can expect, and how to retrieve error information.