Re: where is SysBeep defined?
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