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



Hi Adam,

The last parameter in the callback has been toggling back and forth between long and unsigned long in different versions of the headers. MacApp has a typedef for the definition which is conditional depending on the universal interfaces version, but clearly it's not handling this case. I would look at the typedef and change the #if condition so it works correctly. If your version of R14 doesn't have the typedef, copy it from R15.

Tom

On 5/24/02 3:26 PM, Adam Wildavsky wrote:

> 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?

--
Tom Becker "Within C++, there is a much smaller and
Object-Oriented Propeller Head cleaner language struggling to get out."
<email@hidden> -- Bjarne Stroustrup
_______________________________________________
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.