realbasic-nug
[Top] [All Lists]

Uhh.. no ShowMenuBar?

To: REALbasic Network Users Group <realbasic-nug at lists dot realsoftware dot com>
Subject: Uhh.. no ShowMenuBar?
From: Seth Willits <seth at freaksw dot com>
Date: Fri, 4 Jul 2003 16:33:33 -0700
  #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/>
.


<Prev in Thread] Current Thread [Next in Thread>