Hello Biometric75,
i get the pointer in a canon sdk function as follow:
prResponse prSTDCALL A620ViewFinderFunction (prHandle CameraHandle,
prContext Context, prUInt32 Size, prVoid *pVFData)
in the next line i call my function:
VIEWER_SetNewBMP(Size, pVFData);
and here is my function to save the bmp (as a jpg file)
void VIEWER_SetNewBMP(prUInt32 Size, prVoid *pVFData)
{
int error = 0;
int bytes = 0;
int fileHandle;
fileHandle = OpenFile("new.jpg",VAL_READ_WRITE,VAL_TRUNCATE,VAL_BINARY);
bytes = WriteFile (fileHandle,pVFData, Size);
CloseFile(fileHandle);
}
And here i read the bmp from the previously saved file:
error = GetBitmapFromFile ("new.jpg", &bmpID);
Hope that helps....
Norbert
"Biometric75" <x@no.email> schrieb im Newsbeitrag
news:1164723016737-446527@exchange.ni.com...
> can you tell me how you can store the image from your buffer to file bmp ?
> i have problem to do this, i acquir image from fingerprint scanner and the
> result is a pointer to the adress memory that contain the image
> scaned. thank you