DllImport |
Top Previous Next |
PInvoke > DllImport For call of a Windows API function attributes have to be specified. The minimal attribute to call a function from from an external dll is "DllImport" with the name of the dll as parameter:
[DllImport(kernel32)]
In this example the routine is looked up in the kernel32.dll.
|
This page belongs to the Delphi2C# Documentation |
Delphi2C# home Content |