Windows XP broke with new compiler

Game wont start on windows XP anymore, after extraction the error message that pops up is:

Siralim2.exe - entry point not found

The procedure entrypoint InitOnceExecuteOnce could not be located in the dynamic link library KERNEL32.dll

New error message:

Entry point not found

GetFileInformationByHandleEx could not be located in the dynamic link library kernel32.dll

(and i still had to extract)

Actually the game started after that error message. so not sure if it works properly or not. Pretty sure ive handled these errors before. Its something to do with file handling thats only available after vista or something. Think i’ve seen a solution that involved decoupling those stuff into a seperate dll and including it. Not sure on details, it was quite long ago tbh.