Tiger Intel AS Studio, eSellerate Integrated to Embedded transition
Tiger Intel AS Studio, eSellerate Integrated to Embedded transition
- Subject: Tiger Intel AS Studio, eSellerate Integrated to Embedded transition
- From: Graham Jones <email@hidden>
- Date: Sun, 02 Apr 2006 14:30:16 -0400
Hi all,
There is some overlap so I am posting this on the Cocoa and Applescript
Studio lists.
I am in the process of upgrading my Applescript Studio app (with a few Cocoa
files) to a Universal Binary. Because of eSellerate not making the
Integrated eSeller Universal, I am forced to make a transition to the
"Embedded Web Store."
For the Integrated eSeller, I basically copied the Gecko sample code
directly into my app, and just modified it as I needed. I instantiated the
eSellerateObject from within my main app script by using this call:
set eSeller to call method "init" of (call method "alloc" of class
"eSellerateObject")
As posted on this forum, I had SIGTRAP errors until I figured out that the
eSellerate_DataFork.rsrc was not being properly copied into the bundle by
Xcode. Once I figured out how to do that my problem was solved, and it
worked perfectly.
I was very happy when I realized that the Embedded Web Store's Gecko sample
app was very similar to the Integrated eSeller version, and there are very
easy to follow comments in the new version illustrating what has changed,
even for a Cocoa novice like myself.
Following the sample app and instructions, I removed the Integrated eSeller
support files, imported the EWS support files, and modified my version of
the AppController to match the new Gecko AppController.
My app builds and links fine with no errors. However, when I try to
instantiate the eSellerateObject with my alloc/init, I get an error: the
"alloc" isn't successful, and so the "init" causes a "not defined" error.
While not a SIGTRAP error, it seems too similar to the SIGTRAP situation to
be a coincidence -- I am thinking that it is not finding one of the support
files it needs.
I have the following files from the SDK in my Resources folder:
LibValidateUinversal.a
LibEWS.a
Validate.h
EWSLib.h
EWSMacCompress.tar.gz
Can anyone please shed light on what I might be doing wrong?
Thanks,
Graham Jones.
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden