如何转换为vb.net [英] how to convert to vb.net

查看:68
本文介绍了如何转换为vb.net的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

byte* p = (byte*)(void*)bmData.Scan0.ToPointer();



我得到了这个



i got this

Dim p As Pointer(Of Byte) = CType(CType(bmData.Scan0.ToPointer(), Pointer(Of System.Void)), Pointer(Of Byte))



如何使其运行?避免错误

请帮我. .在此先感谢.



how to make it running? to avoid error

please help me. . thanks in advance.

推荐答案

没有转换. VB.NET不支持指针.
There is no conversion. VB.NET doesn''t support pointers.


同意Dave.可能需要重写代码.检查这些
Vb.net指针 [ .NET代码转换 [
Agree with Dave. Probably you need to Code rewrite. Check these
Vb.net Pointers[^]
.NET Code Conversion[^]


这篇关于如何转换为vb.net的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆