On Friday, July 4, 2003, at 07:33 PM, Seth Willits wrote:
#If TargetCarbon then
Declare Sub ShowMenuBar Lib "CarbonLib" ()
#else
Declare Sub ShowMenuBar Lib "InterfaceLib" ()
#endif
ShowMenuBar
When trying to use this code in a built classic application (running
under classic on OS X), the application quits while starting up and
gives an error in the standard OS dialog:
The application blah has unexpectedly quit.
InterfaceLib--ShowMenuBar (-2624)
Odd. I've never seen that error before. So... how am I supposed to use
these declares now?
I think that would be in "MenusLb" in Classic.
Frank.
---
A searchable archive of this list is available at:
<http://support.realsoftware.com/listarchives/search.php>
Unsubscribe or switch delivery mode:
<http://support.realsoftware.com/listmanager/>
.
|