"M. Angelo" <(E-Mail Removed)> schrieb
> If you don't know or are in doubt, please read the answers instead of
> showing your ignorance.
>
> This is not a newbie question.
>
>
>
> Anyone know how to do something like this:
>
> Private Delegate Function Tick() As Integer
> Private Sub MySub()
> Dim MyExternalFunc As Tick
> '???????? what to write here to declare the equivalent of:
> 'MyExternalFunc = AddressOf Function GetTickCount Lib "kernel32"
Explain: "equivalent of"!
> Alias "GetTickCount" () As Integer
> Me.Text = MyExternalFunc()
> End Sub
VB.NET supports calling managed functions (including imported COMponents)
and "standard" functions declared by the Declare statement or the Dllimport
attribute. That's all.
--
Armin
How to quote and why:
http://www.plig.net/nnq/nquote.html
http://www.netmeister.org/news/learn2quote.html