[sane-devel] Developing SANE driver------A strange issue

2008-04-01 Thread windflying zhou
Hi, All Can you tell me why can only run into the sane_get_devices() unless you use "*version = SANE_CODE_VERSION(1, 2, 3)" in the sane_init(). If not, you will never run into sane_get_devices() with libsane. WHY! WHY! Thank you! -- Do what I can do, not only what should I do. --

[sane-devel] never run into sane_get_devices! why?

2008-04-01 Thread windflying zhou
Hi, All When I debug a backend with xsane, only the sane_init of the backend can be called, but It never runs into the sane_get_devices. (I make sure the sane_init returns SANE_STATUS_GOOD) What may cause to this problem, I have think much about this, help please. Thank you! -- Do what I can