• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: where is SysBeep defined?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: where is SysBeep defined?


  • Subject: Re: where is SysBeep defined?
  • From: m <email@hidden>
  • Date: Thu, 21 Dec 2006 02:21:18 -0800

On Dec 21, 2006, at 2:04 AM, Roland Silver wrote:

SysBeep is undefined in the following. How come?

//  main.m
//  TestSysBeep
#import <Cocoa/Cocoa.h>
int main(int argc, char *argv[]) { SysBeep(30); }


SysBeep() is  Carbon.

Add the Carbon framework to your project and include its headers. But maybe you just want NSBeep().

_murat


_______________________________________________

Cocoa-dev mailing list (email@hidden)

Do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden


References: 
 >where is SysBeep defined? (From: Roland Silver <email@hidden>)

  • Prev by Date: Re: where is SysBeep defined?
  • Next by Date: Re: text selection for pdfview
  • Previous by thread: Re: where is SysBeep defined?
  • Next by thread: By what event or how does Trash knows that iTunes playlist(PL) is dragged.
  • Index(es):
    • Date
    • Thread