I need to re-compile an old DX8 application. Temp I don't want to recode it.
So I compile it in my XP VM with VC++ 6.0.

I got this
C:\DXSDK\samples\Multimedia\common\src\d3dapp.cpp(1308) : error C2664: 'DialogBoxParamA' : cannot convert parameter 4 from 'long (struct HWND__ *,unsigned int,unsigned int,long)' to 'int (__stdcall *)(struct HWND__ *,unsigned int,unsigned int,long)'
        None of the functions with this name in scope match the target type
How can it be fixed?
Thank you very much