Hi masters
I have a problem with working code under XP , where running in 98 .
Here is code of unfinished my project of File Compare - find huge count files and compare it to CRC32 , and display if doubled .
The code is working , unfinished only function delete .
My question : how to modifi to work with 98 and XP ?
[attachment deleted by admin]
If running in 98 - error : The FILECOMPARE.EXE file is linked to missing export KERNEL32.DLL:GetFileSizeEx.
There are two approaches, do an OS version detect and call different API functions depending on which OS version is running or use the win98 version if its available on 2000/XP/Vista and have reduced capacity.
yes hutch , this is clearly , but never less than 98 starts , i am will get version and call corect function IF APPLICATION LOAD NO ERROR ...
well if the api doesn't exist in 9x and you have it in your import table, then the exe will not load,
you will have to do the GetModuleHandle(kernel32) -> GetProcAddress(kernel32, the api you want)
runtime in your code, of the GetProcAddress returns NULL then the api doesn't exist.. no need
for a version check then
thank you