主题:如何将VC.net中的指针转换成VB.net的语法
VC.net 中语法如下.
DWORD checksum1;
unsigned char *rBuf;
.......
.. {
rBuf=new unsigned char[filelength];
cfile.Read(rBuf,filelength);
cfile.Close();
for (i=0;i<filelength;i++)
checksum1=checksum1+*(rBuf+i);
delete rBuf;
}
QUESTION:
1.如何将 *rBuf 改成VB.net语句?
DWORD checksum1;
unsigned char *rBuf;
.......
.. {
rBuf=new unsigned char[filelength];
cfile.Read(rBuf,filelength);
cfile.Close();
for (i=0;i<filelength;i++)
checksum1=checksum1+*(rBuf+i);
delete rBuf;
}
QUESTION:
1.如何将 *rBuf 改成VB.net语句?