• 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: inter process NSView sharing
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: inter process NSView sharing


  • Subject: Re: inter process NSView sharing
  • From: "Kyle Sluder" <email@hidden>
  • Date: Fri, 23 May 2008 10:48:49 -0400

On Fri, May 23, 2008 at 9:59 AM, Jonathan Cochrane
<email@hidden> wrote:
> Now, on OSX the java app gets a NSView/cocoaviewref. Is there some member of
> NSView similar to the HWND on windows that I can pass to my C process? The C
> process can then create a hardware accelerated opengl rendering context from
> this 'handle' and render to the java apps NSView.

So you have taken a pointer that points to your Cocoa app's virtual
memory and passed it to a different process?  Do you really expect
this to work?

A process is not allowed to draw in another process's window on OS X.
You cannot do what you want to do the same way you have on Windows.
You must refactor your application to compensate for the enhanced
separation between processes on OS X.

--Kyle Sluder
_______________________________________________

Cocoa-dev mailing list (email@hidden)

Please 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

  • Follow-Ups:
    • Re: inter process NSView sharing
      • From: "Jonathan Cochrane" <email@hidden>
References: 
 >inter process NSView sharing (From: "Jonathan Cochrane" <email@hidden>)

  • Prev by Date: Re: Breakpoint for unknown selector
  • Next by Date: Re: check if app opens with a document on startup
  • Previous by thread: inter process NSView sharing
  • Next by thread: Re: inter process NSView sharing
  • Index(es):
    • Date
    • Thread