How can we help you today? How can we help you today?

Disassembler problem : ByRef params in VB are passed with()

All ByRef parameters are passed with (). This disable the "ByRef" functionnality.

Ex :
Private Sub DefineIt(ByRef param1 As Integer)

disassembled as : DefineIt((myint))

instead of : DefineIt(myint)
syl
0

Comments

1 comment

  • Markhurd
    I believe the problem is due to C# requiring ref in the cases where VB.NET requires nothing and VB.NET requiring () when a byval override is wanted.

    --
    Regards,
    Mark Hurd. B.Sc.(Ma.)(Hons.)
    Markhurd
    0

Add comment

Please sign in to leave a comment.