PreviousNextIndex

LIBRARY-CALLING-CONVENTION attribute

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

Table 85 lists the valid, case-sensitive, keyword constant values for the LIBRARY-CALLING-CONVENTION attribute.

Table 85: Valid LIBRARY-CALLING-CONVENTION attribute values
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.

See also

INVOKE( ) method (Handle), LIBRARY attribute, ORDINAL attribute


OpenEdge Release 10.2B
Copyright © 2009 Progress Software Corporation
PreviousNextIndex