看板 C_and_CPP 關於我們 聯絡資訊
我手上有一台 AVT 1394 攝影機,他有給 SDK 裡面有一段取得單一影像的範例是這樣的 extern ID_TYPE nCamId; // id of an already opened camera extern UINT32_TYPE nHorizontalResolution; // the currently configured image // size extern UINT32_TYPE nVerticalResolution; // ATL::CImage Image; Image.Create( nHorizontalResolution , -1 * nVerticalResolution , 24 ); UNI_RETURN_TYPE hr = UCC_GrabBitmapImage( nCamId , (UINT8_TYPE*) Image.GetBits() , INFINITE ); 黃色的部份我 google 了一下,好像是 VC 內建的函數? 由於學長寫的程式是用 BCB,如果我要用 BCB 寫出相同的作用,應該要使用哪些元件 或是函式呢?可否請各位前輩提點一下? -- 法輪弓 遠程 弓 8300 - 9500傷害 速度 1.50 (每秒傷害5933.3) 裝備: 你在中國解放軍的聲望將永久仇恨。 擊中時可能: 迫使敵人召喚一名武警為他作戰。 -- ※ 發信站: 批踢踢實業坊(ptt.cc) ◆ From: 140.126.145.206
VictorTom:TImage, TBitmap?? Create format的用法不太一樣就是. 05/12 15:49
ToyLoli:謝謝,我去研究看看 05/12 15:52