xorc1zt wrote:
about the desc file. you must use long with x86 or quad with x64. there is no integer type. a good way to handle both is to use the preprocessor
OK, thank you! So my modification is incorrect for sure. What a mess, why is there no Integer type for .desc? Now you have to write everything 2 times...
by using CompilerIf or write 2 .desc files.
Are you going to make a x86 version of your lib?
And a little request - could you make:
- CreateTimer( ID) ; empty timer
- CreateTimer( ID, FunctionAddress, Time ) ; timer with callback and Time as milliseconds (as usual)
- CreateTimer( ID, FunctionAddress, Time, Resolution ) ; full timer
Correct description would be:
CreateTimer( ID [, FunctionAddress, Time [, Resolution ]] )
So it is not always required to call CreateTimer, TimerSetCallback, TimerSetInterval.
I think you use this combination most of the time...?