本人新手刚接触vb,不太懂这些,求解vb中要怎么使用?
以下是在vb.net中的代码
<StructLayout(LayoutKind.Sequential, CharSet:=CharSet.Ansi, Pack:=4)>
<MarshalAsAttribute(UnmanagedType.ByValArray, SizeConst:=256, ArraySubType:=UnmanagedType.I1)>
<MarshalAsAttribute(UnmanagedType.ByValArray, SizeConst:=100)>
<System.Runtime.InteropServices.UnmanagedFunctionPointerAttribute(System.Runtime.InteropServices.CallingConvention.Cdecl)>
<DllImport("Sdk.dll")>