Hello Bryan,
Wednesday, June 27, 2007, 8:44:51 PM, you wrote:
BP> Everything you're doing at this point sounds right. No need to pass
BP> NULL data for the PromiseHFSFlavor structure. That can be added
BP> straight on. I'm surprised Finder doesn't seem to be setting the
BP> location to the pasteboard. Any chance you could send me some sample
BP> code that reproduces the problem? I could take a look and see what's
BP> going on.
After a more deeper investigation, I got it working. As I'm hacking this into
Qt, I was trying to minimize things to patch in their code, so I was using
PasteboardCreate(NULL) in order to obtain the exact same global pasteboard
they were using in their code (based on what's described at
http://developer.apple.com/documentation/Carbon/Reference/Pasteboard_Reference/Reference/reference.html#//apple_ref/c/func/PasteboardCreate
). However, it seems I was in fact not obtaining the same pasteboard, but a
different one? (at least it's the only explanation I have at the moment).
So I tried to export the exact PasteboardRef Qt is using internally, replaced
my PasteboardCreate() calls by this ref, and now it works perfectly!
Btw, is is possible to reuse Finder's own copy dialog box in order to display
progress for the files I'm copying (through a particular AppleEvent?),
or am I forced to manually reimplement the same thing in my application?
Best regards,
--
Eric Landuyt, Developer - mailto:email@hidden
DataRescue sa/nv, Home of the IDA Pro Disassembler - http://www.datarescue.com
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Carbon-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/carbon-dev/email@hidden
This email sent to email@hidden