Hi,
In response to the message, I had asked for the retrieval of the option val=
ues:
void PopulateScannerData(SANE_Handle handle)
{
=09int index;
=09unsigned long value;=09
=09SANE_Status status;
=09const SANE_Option_Descriptor* options=3DNULL;
=09if(IsSupported(gData,SANE_NAME_SCAN_X_RESOLUTION
On Thu, Jun 23, 2005 at 04:27:59PM +0530, Mohit Kumar wrote:
> unsigned long value;
...
> {
> status =
> sane_control_option(handle,index,SANE_ACTION_GET_VALUE,(void*)value,0);
Value is uninitialized at this point. I believe you want to pass its
address, not the val