Re: Twain, Image Capture, Intel, PPC
Re: Twain, Image Capture, Intel, PPC
- Subject: Re: Twain, Image Capture, Intel, PPC
- From: James Chen <email@hidden>
- Date: Fri, 23 Mar 2007 13:20:26 +0800
- Thread-topic: Twain, Image Capture, Intel, PPC
Hi,
If your application is running on Intel architecture, only Intel based data
source binary will be loaded/identified.
And if your application is running on PowerPC architecture(include Rosetta),
only PowerPC-based data source binary will be loaded/identified.
So you might have to make sure what the binary format of data source is.
If it's universal binary, and your application, no matter it's PowerPC or
Intel binary, should be able to load it.
I think it has nothing to do with DSM implementation. I think it's run-time
mechanism of the OS (Intel binary cannot dynamic load/link the PowerPC
binary and vice versa).
HTH,
James Chen
Presentation Product Division
TEL: +886 2 22263630 ext 8538
FAX: +886 2 22267241
Mailto: email@hidden
http://www.avermedia.com
AVerMedia Technologies, Inc.
簡報產品事業單位: 陳銘崧
圓剛科技(股)公司
This message contains information that may be confidential and privileged.
Unless you are the addressee (or authorized to receive messages for the
addressee), you cannot use, copy or disclose to any third party or any
information contained in the message. If you have received the message in
error, please advise the sender by reply e-mail and delete the message.
Nothing in this message should be interpreted as a digital or electronic
signature that can be used to authenticate a contract or to other legal
document. Thank you very much.
> From: Jim Mooney <email@hidden>
> Date: Thu, 22 Mar 2007 22:47:41 -0400
> To: <email@hidden>
> Subject: Twain, Image Capture, Intel, PPC
>
> After writing a nice app that uses the Twain framework, part of image
> capture, I moved to a intel based powerbook for development.
> Everything compiles but the twain portions are broken only unless I
> use a PPC processor as the target binary. If I select PPC and Intel
> or Intel solely, the app cannot find the twain source to prepare an
> image capture.
>
> I also found that if I use 10.4 sdk this is the only case PPC version
> can see the twain source when compiling on an intel machine. If I
> use what I originally designed for 10.2, even the PPC version can see
> the twain devices to select the source on the intel machine. I am
> sure I am not the only one who has this problem as the twain.org
> forum has several posts of problems. No answers of course.
>
> Anyone run into this problem and know what is going on? At a
> developer event, an Apple developer looked over the project and
> thought it was a setting in XCode, but I have flipped every stone
> over and spent enough time convinced something is broken with Twain,
> Xcode, and Intel machines.(all part of image capture framework) It
> appears the twain binary is compiled for intel, but I am wondering
> what happens when a PPC driver for the scanner gets called? Could
> this be the issue? Most of the drivers I have seen all look carbonish.
>
> I have given up on reporting bugs since they never seem to address/
> consider bugs I post. ie NSMailDelivery big problems two years and
> no answer or recognition ie case still open( yet since the case was
> opened, three or four methods were removed from the class ).
>
> I am guessing this problem will never be address since everyone buys
> a scanner, uses it a day and then chucks it. Call me a cynic but it
> is a bummer when you want to move forward and 6 months of work gets
> chopped and the viability of the app is in question. Does anyone
> know if Twain will be supported (let's limit this to one year out)?
> This is all in a Cocoa app.
>
> Jim
>
>
> _______________________________________________
>
> Cocoa-dev mailing list (email@hidden)
>
> 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:
>
> This email sent to email@hidden
_______________________________________________
Cocoa-dev mailing list (email@hidden)
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:
This email sent to email@hidden