Hi Guys,
I have a scenario where I am trying to call a function from a DLL but the problem is Microsoft has put the function in different DLL's depending on what OS is used.
'MFCreateDXGIDeviceManager' is in mshtmlmedia.dll in Windows 7 and Vista but is in mfplat.dll in Windows 8 and above.
I can figure out easily enough what OS my application is running on, but I don't know how to tell it to reference the correct DLL given the OS.
Is there a way to choose the correct DLL at run-time?
This one has had me stumped for several years now, but the time has come where I have to revisit the problem. In this occasion having two separate exe's (i.e. a Win 7 and Win 8+) is not really an option unfortunately.
Many thanks in advance.