[Mono-dev] GetAddrOf mono-basic vb.net
Rolf Bjarne Kvinge
rolflists at ya.com
Fri May 4 11:00:16 EDT 2007
>From: mono-devel-list-bounces at lists.ximian.com
[mailto:mono-devel-list-bounces at lists.ximian.com] On Behalf Of LB Audio
Uchoa NET
>Sent: viernes, 04 de mayo de 2007 16:37
>To: mono-devel-list at lists.ximian.com
>Subject: [Mono-dev] GetAddrOf mono-basic vb.net
>
>It is in VB6.
>Public Declare Function GetAddrOf Lib "kernel32" Alias "MulDiv" (nNumber As
Any, Optional ByVal nNumerator As Long = 1, Optional ByVal nDenominator As
Long = 1) As Long
The VB.Net version should be something like
Public Declare Function GetAddrOf Lib "kernel32" Alias "MulDiv" (ByVal
nNumber As Integer, Optional ByVal Numerator As Integer = 1, Optional ByVal
Denominator As Integer = 1) As Integer
At least according to the declaration of MulDiv in MSDN.
Now why do you rename a function called MulDiv to GetAddrOf?
Rolf
More information about the Mono-devel-list
mailing list