-
1. Re: Photoshop displaying a warning in console.
JackLan100 Jun 16, 2011 3:28 PM (in response to dheeraj_c)Why not use Photoshop CS5 SDK where you can have your UI with cocoa framework. It is hard to combine both carbon framework and cocoa frame code in one target, I think.
-
2. Re: Photoshop displaying a warning in console.
dheeraj_c Jun 16, 2011 8:29 PM (in response to JackLan100)Thank you JackLan100 for the response.
If I use cocoa window on 32 bit CS5 the application crashes. So I'm trying to embed cocoa view in carbon window so that the application does not crash when I quit plugin window. Is there a way to avoid the crash on 32 bit using cocoa window?
-
3. Re: Photoshop displaying a warning in console.
Chris Cox Jun 16, 2011 11:08 PM (in response to dheeraj_c)That depends on the nature of the bug causing your crash.
Photoshop's plugins with UI are Cocoa, as are many other third party plugins.
Did you read the SDK about Cocoa? Did you change the PiPL to tell Photoshop that you are using Cocoa (so the plugin won't be unloaded, to avoid the bugs in the Cocoa runtime)?
-
4. Re: Photoshop displaying a warning in console.
dheeraj_c Jun 19, 2011 8:41 PM (in response to Chris Cox)Thank you Chris Cox for the response.
I read the SDK but I couldn't find much info on using Cocoa UI. I will check again. No I did not change anything in PiPL file. I'm using dissolve sample as it is. I will check the documentation to make necessary changes to the PiPL file.
-
5. Re: Photoshop displaying a warning in console.
dheeraj_c Jun 19, 2011 8:50 PM (in response to Chris Cox)Thanks a lot Chris Cox. I changed the PiPL and it's working fine. The crash is fixed.
-
6. Re: Photoshop displaying a warning in console.
dheeraj_c Jun 19, 2011 10:30 PM (in response to Chris Cox)Now I'm facing a different problem.
First time the dialog exits without any issues. Second time if I close the window, the window is deleted but the modal state is retained i.e. the Photoshop menu is disabled even after the modal window is closed.



