| |||
| [Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] |
|
Hi, Finaly I loaded the plugin in my app but the application crashes when I call NPP_SetWindow. In the webkit source code there is a method that whould be called before calling a method with NPP_. I tryed this to but it is not working(the same crash). I'm loading the plugin in a carbon window loaded from the nib. Whould I make some custom setting for this window. Here is the code, hope some one can find the problem : NPWindow npwin; npwin.x = 50; npwin.y = 50; npwin.width = 300; npwin.height = 300; npwin.type = NPWindowTypeWindow; npwin.window = GetWindowPort(window); /*npwin.clipRect.top = 0; npwin.clipRect.left = 0; npwin.clipRect.right = 300; npwin.clipRect.bottom = 300;*/ assert(NPP_SetWindow); npErr = NPP_SetWindow( npp, &npwin); assert(1); fprintf(stdout,"NPP_SetWindow : %d\n",npErr); Thanks, Olariu Adrian Mihai Olariu Adrian Mihai wrote: Hi, --
|
_______________________________________________ Do not post admin requests to the list. They will be ignored. Webkitsdk-dev mailing list (email@hidden) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/webkitsdk-dev/email@hidden This email sent to email@hidden
| References: | |
| >Getting the Flash view from WebKit (From: Olariu Adrian Mihai <email@hidden>) |
| Home | Archives | FAQ | Terms/Conditions | Contact | RSS | Lists | About |
Visit the Apple Store online or at retail locations.
1-800-MY-APPLE
Contact Apple | Terms of Use | Privacy Policy
Copyright © 2007 Apple Inc. All rights reserved.