I am working on a project that compiles and runs fine with the 32 bit version. This is using WinAPI, included DirectX, native code, VC 2017, exe project.
There are several calls to mmio functions, mmioOpen, mmioRead, mmioWrite, etc. According to the documentation this requires linking with the winmm.lib library in the SDK. I've done that for both the x86 and x64 versions. I have the correct path to both the x86 and x64 libraries in the directories.
The x86 version links fine and run. I have tried selecting several different toolsets. With older compilers and the XP versions of the newer compilers, the x64 throws a slew of L2019 errors at link time for the mmio functions.
When I switch to the VC2017 or VC 2015 toolset, I initially got other errors when using the 7.0 SDK the project was using, but when I switched to the 8.1 or 10.0 SDK, the errors went back to the same link errors.