yes, I'm doing that - this works for all other printers we've used,
but for some reason, this printer is causing problems.
Alan
On Jul 15, 2005, at 5:31 PM, Florent Pillet wrote:
Did you arm the notification after registering it? You need to call
your USBDeviceAdded() function once and let it iterate over all
devices to properly arm it, otherwise it won't work correctly.
Florent
On 15 juil. 05, at 18:38, Alan Dail wrote:
I have USB software that we use to talk to various USB/USB2
printers that has worked fine for many different printers. We
need to work with a new printer - a Kodak 9810 - and are running
into an odd problem. We get the notification that the device was
added, the problem is once we get the IOUSBDeviceInterface and
call CreateInterfaceIterator on that, we get back an empty
iterator (i.e. the first call to IOIteratorNext returns NULL),
thus cannot get the IOUSBInterfaceInterface - from testing we've
done, we clearly get the correct IOUSBDeviceInterface. Our code
fragment is below and works for all of the other printers we've
used - what could be going wrong with this printer?
--
Florent Pillet http://www.florentpillet.com
Freelance software developer/consultant - Palm OS & Mac OS X
Skype callto://florent.pillet
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Usb mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/usb/email@hidden