Delphi Error – E2319 Attribute – The MarshalAs parameter index cannot be negative

Delphi Compiler Error

E2319 Attribute – The MarshalAs parameter index cannot be negative

Reason for the Error & Solution

No further information is available for this error or warning.