DLL Interfacing
Calling Convention
92
E1852B Operating Guide
Calling Convention
Different programming languages and compilers use different
approaches when performing subroutine calls. The methods used to
store parameters, return addresses, and so on, on the stack vary. This
is called
the calling convention.
Since the Application may not have been created in the same
programming language as the DLL, it becomes necessary to know the
calling convention to use when DLL functions are called.
The calling convention used by the E1852B test set DLL is the
__stdcall
.
When C++ is used as the Application Programming language, the
calling convention is explicitly specified by the
__stdcall
keyword in
the interface header file E1852Bdll.h.
DLL Filename and Location
filename
E1852B.dll
location
Windows NT:
C:\WINDOWS\system32
Windows 98/2000
C:\WINDOWS\system32
E1852-90007.book Page 92 Monday, February 4, 2002 2:09 PM
Artisan Technology Group - Quality Instrumentation ... Guaranteed | (888) 88-SOURCE | www.artisantg.com