I'm trying to call in to the Core Graphics framework from a Carbon Mach-O application, but I'm not sure how to get to the appropriate library. The function is CGCaptureAllDisplays. Here's what I've tried; none of the following worked (always a FunctionNotFoundException):

Soft Declare Function CGCaptureAllDisplays Lib "/System/Library/ Frameworks/ApplicationServices.framework/CoreGraphics.framework/ CoreGraphics" as UInt32

Soft Declare Function CGCaptureAllDisplays Lib "CoreGraphics.framework" as UInt32

Soft Declare Function CGCaptureAllDisplays Lib "Carbon.framework" as UInt32

Any help?

Adam Ernst

_______________________________________________
Unsubscribe or switch delivery mode:
<http://www.realsoftware.com/support/listmanager/>

Search the archives of this list here:
<http://support.realsoftware.com/listarchives/lists.html>

Reply via email to