How to declare dl exports within dll cp?

This is a discussion on How to declare dl exports within dll cp? within the C++ Programming forums, part of the General Programming Boards category; Well i'm a newb when it comes to dll's it seem that you can either use a def file or ...

Why not? I don't know any reason that you can not combine __declspec(dllexport) with __stdcall. The first signifies that the function should be exported from the DLL while the latter tells the compiler to use the __stdcall calling convention.