1. is it somehow possible to use timer in dll
i tryed to SetTimer(0,0,1000,TimerProc) with using timer procedure (becouse i have no windows in dll..) but i think it doesnt work..
2. this one is about PE structure
i wanted to calculate how much code in code section is, and how much space is of no use (becouse of alignment)
but i dont know what values should i use here
i first thought that SizeOfRawData - VirtualSize (in section header) will give me what i wanted, but i discovered there is SizeOfCode in optional Header which is different from both this values
so now i am not sure what value should i use
i tryed to SetTimer(0,0,1000,TimerProc) with using timer procedure (becouse i have no windows in dll..) but i think it doesnt work..
2. this one is about PE structure
i wanted to calculate how much code in code section is, and how much space is of no use (becouse of alignment)
but i dont know what values should i use here
i first thought that SizeOfRawData - VirtualSize (in section header) will give me what i wanted, but i discovered there is SizeOfCode in optional Header which is different from both this values
so now i am not sure what value should i use