Call Apple Scripts in CodeWarrior IDE 3.2

I am developing an application in CW IDE 3.2.  I want to execute an Apple Script from this CW application which is written using the PowerPlant feature.  When I try to use the calls like OSACompile or any other OSA functions from within my application, it gives me a linker error not able to identify object code for the OSA functions.  What could be the problem??  I have included the OSA header.  Is there any other file I have to include before linking??
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Is this a PPC project or a 68K project?

Did you try including AppleScriptLib in your project?  (::Metrowerks CodeWarrior:MacOS Support:Universal:Libraries:StubLibraries: )?

AnubaAuthor Commented:
Its a PPC project.  And I resolved the OSA calls problem by including AppleScriptLib. Thank u! But Bob, I think I better develop the interface using AppleScript and FaceSpan, its much simpler and a RAD tool.  

Here I have managed to call the IPLab  Script from my Apple Script but what do I do about passing parameters from applescript to IPLab script.  
Afraid someone else will have to help you with IPLab.  I don't know anything about the application.

You can investigate the IPLab scripting vocabulary by opening the application as a dictionary from the ScriptEditor (:Apple Extras:AppleScript:).  

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
AnubaAuthor Commented:
This last answer is not for which I have posted my rating but for all the help that Bob provided me with earlier.

It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Apple Hardware

From novice to tech pro — start learning today.