Coming from VB6 to .NET VarPtr not supported
- From: "Jerry West" <jw@xxxxxxxxxxx>
- Date: Thu, 5 Jun 2008 09:32:51 -0700
I have the following code and was wondering what the .NET equivalent is for
VarPtr & ByVal....it seems .NET also dislikes ByVal in this code. Perhaps it
is now redundant?
Any help appreciated!
JW
CopyMemory ByVal VarPtr(p_SwapEndian) + 3, dw, 1
CopyMemory ByVal VarPtr(p_SwapEndian) + 2, ByVal VarPtr(dw) + 1, 1
CopyMemory ByVal VarPtr(p_SwapEndian) + 1, ByVal VarPtr(dw) + 2, 1
CopyMemory p_SwapEndian, ByVal VarPtr(dw) + 3, 1
.
- Follow-Ups:
- Re: Coming from VB6 to .NET VarPtr not supported
- From: Patrice
- Re: Coming from VB6 to .NET VarPtr not supported
- From: Tom Shelton
- Re: Coming from VB6 to .NET VarPtr not supported
- Prev by Date: Re: Environment.UserName
- Next by Date: Re: SaveFileDialog.ShowDialog() returns Cancel when Yes to overwri
- Previous by thread: Re: Can't display a form
- Next by thread: Re: Coming from VB6 to .NET VarPtr not supported
- Index(es):