I’m trying to build my dll file as x64, here are the configurations I have done on VisualStudio:
- I have set solution and project platform to x64:
- According to this answer, I have changed naming convention from __cdecl to __fastcall:
- According to this comment I have added the argument _WIN64 to Preprocessor Definitions.
But still, when I rebuild my project and open my dll file using notepad, I see PE L which means my dll file is 32 bit.
What should I do?
Source: Windows Questions C++