Personnaly, I understand exactely what you would like to do but ... Is it
really necessary ? First you need the same signature of GetTickCount and
your Delegate Tick no ? And second why would you not like to declare the API
function before ? You could declare all functions and in a switch case you
could select which one you want to use ... It is not useful to declare on
the fly. It's my opinion.
Bismark
"M. Angelo" <So***@No.One> a écrit dans le message de
news:Or**************@tk2msftngp13.phx.gbl...
Please don't answer a question that you don't understand, OK?
Cor Ligthert wrote:
Hi M.
When you do not know exactly know how to use a DLL function, why than
not first look to managed code which will do run your program a lot more
save.
http://msdn.microsoft.com/library/de...l/win32map.asp
The tickcount is one of the most easy ones in dotNet
Dim MyTick As Integer = Environment.TickCount
Just my thought
Cor