Hi, I have a problem with ImageCapture + ImageKit.
My IKDeviceBrowserView stays desperately empty. So I added the following code to the start of my app : ICDeviceBrowser* db = [[ICDeviceBrowser alloc] init]; [db setDelegate: (id<ICDeviceBrowserDelegate>)self]; db.browsedDeviceTypeMask = db.browsedDeviceTypeMask | ICDeviceTypeMaskScanner | ICDeviceTypeMaskCamera | ICDeviceLocationTypeMaskLocal | ICDeviceLocationTypeMaskShared | ICDeviceLocationTypeMaskBonjour | ICDeviceLocationTypeMaskBluetooth | ICDeviceLocationTypeMaskRemote; [db start]; and deviceBrowser:didAddDevice:moreComing: *IS* called once, with the only scanner connected to my computer. Still, the IKDeviceBrowserView stays empty. What can be wrong ? Oh, something that may be part of the problem (or of the solution...): I don't call run on my app for multiplatform portability reasons. Instead I call this in a customized event loop: NSEvent* event = [[NSApplication sharedApplication] nextEventMatchingMask: NSAnyEventMask untilDate: [NSDate dateWithTimeIntervalSinceNow: 0.000001] inMode: NSDefaultRunLoopMode dequeue: YES]; /* OMITED: do some checks for tablet proximity events */ [[NSApplication sharedApplication] sendEvent: event]; Any help will be greatly appreciated. Thanks. -- Eric M. http://www.tvpaint.fr -- Keep intel OUTSIDE my Mac ! Hiii !!! I can see Intel chips creeping around my G5 ! Eric M. _______________________________________________ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please do not post admin requests or moderator comments to the list. Contact the moderators at cocoa-dev-admins(at)lists.apple.com Help/Unsubscribe/Update your Subscription: https://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com