I have added a resource in my project. Its size is 4.096 byte.
i need to assign it to DWORD because 3rd argument of WriteFile() needs it.
WriteFile(hFile, pExeResource,size, &bytesWritten, NULL);
So i cast it like this:
UPDATE2: DWORD bootsize = 4096; //and still warns me
But i get this warning. can you plesae help me?
I think this is a combination of regional/language differences along with C-syntax.
I assume you mean
4.096to be4,096with a comma separator. (Due to regional/language differences, you probably use.instead of,.)In C/C++, you don’t use the separators. Just do this instead: