<html>
<head>
<style>
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 10pt;
font-family:Verdana
}
</style>
</head>
<body class='hmmessage'>
Hi Sir,<BR>
&nbsp;<BR>
I am unable to Enemurate the device. <BR>
&nbsp;<BR>
My device is Hp Scan 4370.<BR>
&nbsp;<BR>
Every time I get std::cerr &lt;&lt; "&gt; CSaneWrapper1::EnumerateDevices() fails\n";<BR>
&nbsp;<BR>
Please let me know what mistake I have commited.<BR>
&nbsp;<BR>
My OS is Fedora 8.0.<BR>
I have installed libsane-hpaio-2.7.7-6.fc8.i386.rpm,sane-backends-1.0.19-10.fc9.i386.rpm. Is there anything I am missing.<BR>
&nbsp;<BR>
<STRONG>bool CSaneWrapper1::EnumerateDevices()<BR>{</STRONG><BR>
<STRONG>&nbsp; SANE_Status statusCode;<BR>&nbsp; statusCode = sane_get_devices(&amp;_device_list, SANE_TRUE);</STRONG><BR>
<STRONG></STRONG>&nbsp;<BR>
<STRONG>&nbsp; if( statusCode != SANE_STATUS_GOOD )<BR>&nbsp; {<BR>&nbsp;&nbsp;&nbsp;&nbsp; std::cerr &lt;&lt; " CSaneWrapper1::EnumerateDevices() fails\n";<BR>&nbsp;&nbsp;&nbsp; return false;&nbsp;<BR>&nbsp;&nbsp;} <BR>&nbsp; else<BR>&nbsp; {<BR>&nbsp;&nbsp;&nbsp;&nbsp; &nbsp;int i;<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; for( i = 0; _device_list[i] != NULL; i++ ); <BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; { _devicecount = i;<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; }<BR>&nbsp;&nbsp;&nbsp; std::cerr &lt;&lt; " CSaneWrapper1::EnumerateDevices() ELSE Success&gt; \n";</STRONG><BR>
<STRONG>&nbsp; }<BR>&nbsp; return true;<BR>&nbsp;}</STRONG><BR>
&nbsp;<BR>
&nbsp;<BR>
&nbsp;Thanks in Advance.<BR>&nbsp;Sidd <BR><BR></body>
</html>