realbasic-nug
[Top] [All Lists]

Re: Uhh.. no ShowMenuBar?

To: REALbasic Network Users Group <realbasic-nug at lists dot realsoftware dot com>
Subject: Re: Uhh.. no ShowMenuBar?
From: Frank C <pox at planetquake dot com>
Date: Fri, 4 Jul 2003 20:16:42 -0400
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/>
.


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