I was trying to convert some C# code to Vb.net but there was a variable with an asterisk, which apparently VB.net doesn’t support. (pointer variables I think they were called, were it refers or something)
How would I convert that into VB.net
I was trying to convert some C# code to Vb.net but there was a
Share
VB.NET to date does not have any support for pointers or what is generally termaned “unsafe” code in C#. The usual way to do interop with unmanaged code is to make use of the
Marshalclass and friends in the Base Class Library. This is slightly more cumbersome to use that simple pointers, and not exactly the same, but it’s the only real alternative unless you want to write that bit of your code in C#.