Здравствуйте. Переделываю под Embarcadero RAD Studio 2010. Выдает здесь ошибку
"void APIDrawIpl(int x,int y,IplImage* _Grab,void *HANDLE)
{
HDC hMemDC,hDC;
hDC=GetDC(HANDLE);
hMemDC = CreateCompatibleDC(hDC);
HBITMAP Bitmap=CreateRGBBitmap(_Grab);
SelectObject(hMemDC,Bitmap);
BitBlt(hDC,x,y,_Grab->width,_Grab->height,hMemDC,0,0,SRCCOPY);
DeleteObject(Bitmap);
DeleteDC(hMemDC);
DeleteDC(hDC);
}"
[bCC32 Error] Unit2.cpp(85): E2034 Cannot convert 'void *' to 'HWND__ *'
Full parser context
Unit2.cpp(83): parsing: void APIDrawIpl(int,int,_IplImage *,void *)
[bCC32 Error] Unit2.cpp(85): E2342 Type mismatch in parameter 'hWnd' (wanted 'HWND__ *', got 'void *')
Full parser context
Unit2.cpp(83): parsing: void APIDrawIpl(int,int,_IplImage *,void *)
Помогите, если сможете