How to export enum? (from DLLs)
How it is Ok:
a) enum __stdcall __declspec(dllexport) MyEnum {...};
b) __stdcall __declspec(dllexport) enum MyEnum {...};
?
How to export enum? (from DLLs)
How it is Ok:
a) enum __stdcall __declspec(dllexport) MyEnum {...};
b) __stdcall __declspec(dllexport) enum MyEnum {...};
?
I don't think you have to export enums as they are defined in header files not in implementation files. Just include the appropriate header file in the project which uses the DLL and you should be able to use the enum.
Bookmarks