RAD Studio (Common)
E2293: Cannot have both a DLLImport attribute and an external or calling convention directive (Delphi)

The compiler emits DLLImport attributes internally for external function declarations. This error is raised if you declare your own DLLImport attribute on a function and use the external name clause on the function.

Copyright(C) 2009 Embarcadero Technologies, Inc. All Rights Reserved.
What do you think about this topic? Send feedback!