E2326 Use __declspec(spec1, spec2) to combine multiple __declspecs (C++)
Go Up to Compiler Errors And Warnings (C++) Index
When you want to use several __declspec modifiers, the compiler will complain if you don't combine them into one __declspec. For example:
int __declspec(__import) __declspec(delphiclass) X
will give an error. Use the following instead:
int __declspec(__import, delphiclass) X