#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?
Seth Willits
------------------------------------------------------------------------
---
President and Head Developer of Freak Software - http://www.freaksw.com
Q&A Columnist for REALbasic Developer Magazine -
http://www.rbdeveloper.com
Webmaster for REALbasic Game Central - http://www.freaksw.com/rbgames
"Few are those who see with their own eyes and feel with their own
hearts."
-- Albert Einstein
------------------------------------------------------------------------
---
---
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/>
.
|