1 year ago

#76427

test-img

kokosik 1221

How can I convert this code using GDI Bitmap pointers from C# to VB.NET?

I need help to convert my code from C# to VB.NET. I'm stuck on these lines:

byte* ptr = (byte*)(void*)bitmapData.Scan0;
byte* ptr2 = (byte*)(void*)bitmapData2.Scan0;

Here is my full code.

c#

vb.net

pointers

translate

unsafe

0 Answers

Your Answer

Accepted video resources