On Fri, May 23, 2008 at 9:59 AM, Jonathan Cochrane
<[EMAIL PROTECTED]> 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 (Cocoa-dev@lists.apple.com)

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:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to [EMAIL PROTECTED]

Reply via email to