Reputation: 15069
I've built a new dll project in VS 2012, I've copied some code from another project, everything is the same but...
WINAPI / APIENTRY is not defined.
They are residing in a file names minwindef.h and I can't find where is it included in the source project, I don't want to include it manual. What should I change in the project in order for it to recognize this directive ?
Upvotes: 0
Views: 2798
Reputation: 24351
You'll have to include windows.h to get the required definitions, that's just the way Windows development works.
Upvotes: 3