(This question uses zlib as an example but isn\'t specific to it.)
I\'m trying to compile zlib on Windows using the MSVC project file it comes with. I\'m using VS201
As far as I know, the only way is to use LoadLibrary() and GetProcAddress() -- you can also see this in MFC Sources which handle messages native to WIn7 (or later)
LoadLibrary()
GetProcAddress()
e.g.: CWnd::OnGesture() in %VCINSTALLDIR%atlmfc\src\mfc\wincore.cpp
CWnd::OnGesture()
%VCINSTALLDIR%atlmfc\src\mfc\wincore.cpp