Look stupid, but is their a way to declare an external function like :
function EnumDynamicTimeZoneInformation(dwIndex: DWORD; lpTimeZoneInformation: PDynamicTimeZoneInformation): DWORD; stdcall; external advapi32;
because as EnumDynamicTimeZoneInformation is available only still windows 8, this declaration makes the app crash on windows 7 and lower.
The procedure entry point EnumDynamicTimeZoneInformation could not be located in the dynamic link library
Is their anyway to make that this declaration will not make the app crashing, even if we don't use it in the app