cdecl

InstallShield 2020 ยป InstallScript Language Reference

Project:This information applies to InstallScript projects.

The cdecl keyword is used when declaring an external DLL function that uses the cdecl calling convention. For example:

prototype cdecl POINTER Msvcrt.memcpy( byref string, pointer, long );

In previous versions of InstallShield Professional, the setup engine always used the stdcall convention but would sometimes overlook an inconsistent DLL convention.

Most Windows API functions use the stdcall (WINAPI) calling convention. Consult Microsoft documentation for more information about calling conventions.

See Also