请看看这段代码fixed(byte * bb = &fingerbmp[0])
{
byte[] ch = new byte[255];
fixed(byte * cc = &ch[0])
{
ii = GetCharacter(0,bb,cc);
Class1.bcha1 = ch;
byte[] ch1 = Class1.bcha;
fixed(byte * dd = &ch1[0])
{
ii = Match2Finger(0,cc,dd,1,3);
byte[] t = new byte[512];
fixed(byte * tmp = &t[0])
{
ii = GetTemplate(0,cc,dd,tmp);
MessageBox.Show(t.ToString());
}
}
}难道一个fixed里面只能写一个指针变量?难道非要写成这样?难道不能写成fixed(……,……,……)?初学者,不要笑我,给我出个主意。