GetGestureInfo entry point not in USER32.dll
Posted on 2014-03-19
I make reference to GetGestureInfo in my app so that I can do some touchscreen things when the PC is so-enabled. I only need it to work on win7 and win8. But I can't even run my app on XP now because of the "entry point not found" error as in the title of this question. So, what is a good way to avoid this? I don't want a solution that requires a separate build for XP if at all possible. Can I do something like put my call to GetGestureInfo in a DLL and then dynamically link that DLL only if I see I'm running on win7/8 ? Something like that? What is best/easiest way? Thanks!
My app is MS C++ using a bit of MFC and using VS2010.