unsigned char *pp;
HImage Img,RgtImg;
HTuple PtR, MyType, MyWidth, MyHeight;
char str[128] = { 0 };
int m_nCamNumInner, m_nCamNumOutter;
UpdateData(FALSE);
m_nCamNumInner = 67;
m_nCamNumOutter = 8;
sprintf_s(str, ("E:/NewWidthProgram/TestPic/阴极Inner/%d.jpg"), m_nCamNumInner);
Img.ReadImage(str);
GetImagePointer1(Img, &PtR, &MyType, &MyWidth, &MyHeight);
pp = (unsigned char *)(INT64)PtR;
G_ImgBuf0.SetImgData(pp, MyWidth, MyHeight);