Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: CW Pro 7 and MacApp r14



> Subject: CW Pro 7 and MacApp r14
>
> I'm trying to compile MacApp r14 with CW Pro 7.2. I had only minor
> trouble with ACS, but I'm getting two UPP errors in UScripting.cpp
> that I don't know how to deal with:
>
> Error : function call 'NewAEEventHandlerUPP(pascal short (const
> AEDesc *, AEDesc *, unsigned long))' does not match
> 'NewAEEventHandlerUPP(pascal short (*)(const AEDesc *, AEDesc *, long))'
> UScripting.cpp line 246
> NewAEEventHandlerUPP(TOSADispatcher::DispatchHandlerGlue)
>
> Error : function call 'NewAEEventHandlerUPP(pascal short (const
> AEDesc *, AEDesc *, unsigned long))' does not match
> 'NewAEEventHandlerUPP(pascal short (*)(const AEDesc *, AEDesc *, long))'
> UScripting.cpp line 355
> NewAEEventHandlerUPP(TOSADispatcher::PreDispatchHandlerGlue)
>
> I've tried copying code in from MacApp r15 but that hasn't done the
> trick. Any suggestions?

The AEEventHandler routine parameters have changed a bit. So
TOSADispatcher::PreDispatchHandlerGlue and
TOSADispatcher::DispatchHandlerGlue have to have their parameters changed to
(const AEDesc *, AEDesc *, long).

hope this helps.

--
Stephen Knight
Walworth, NY
_______________________________________________
macapp-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/macapp-dev
Do not post admin requests to the list. They will be ignored.



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.