Specifies the calling convention for a Windows Dynamic Link Library (DLL) or UNIX shared library.
Data type: CHARACTER
Access: Readable/Writable
Applies to: Call object handle
The following table lists the valid, case-sensitive, keyword constant values for the LIBRARY-CALLING-CONVENTION attribute.
Keyword constant | Description |
---|---|
STDCALL | Use the standard Windows calling convention when accessing the routine. This is the default value. |
CDECL | Use the C calling convention when accessing the routine. |
The AVM returns a run-time error if a value other than "CDECL" or "STDCALL" is assigned to this attribute.