I created a simple capture from camera program in VS2012, Win 7, OpenCV 2.4.6 and compiled it with "Visual Studio 2012 - Windows XP (v110_xp)" option. Also added "WINVER=0x0501" and "_WIN32_WINNT=0x0501" to my preprocessor option.
But still get "The procedure entry point GetTickCount64 could not be located in the dynamic link library KERNEL32.dll" error in Windows XP.
Please help me solve this problem. Thank you