Skip to main content
Inspiring
October 24, 2017
Answered

[CS6] Custom Panel hook for C++ API question

  • October 24, 2017
  • 3 replies
  • 2302 views

I have a plugin (.dll) written in C++ that I want to create a custom panel for, so a few questions:

Is this possible?

If so, could you point me in the direction of what I have to use, I understand that I can use ActiveXObject for web to call native dlls in Js. Would this work for Photoshop?

This topic has been closed for replies.
Correct answer SuperMerlin

Thank you Merlin, quick question about the 'BasicExternalObject' will this contain UI examples or just the connection to the API calls through Js?


Yes it has some example calls, also see Action Manager (Script Listener) code converter script! for a modified cpp that gives access to the system command and clipboard functions.

3 replies

i73Author
Inspiring
October 25, 2017

Your .dll (with different name in extension) should have JSX interface. So you can use classic Action Manager code for you own plugin.

Does the classic Action Manager use the Bridge?

There is an example of a dll in the Bridge SDK Bridge Developer Center

It also shows how to interface with JSX.

Thanks guys, after talking to the artists they entirely want to stay away from the Bridge at all costs. Half of them already uninstalled it from their machines. Do you have any other suggestions?

SuperMerlin
Inspiring
October 25, 2017

Although the example is in the Bridge SDK the dll can be used in Photoshop see "BasicExternalObject" example.

In fact I use that example with modifications for use in Photoshop.

i73Author
Inspiring
October 25, 2017

Thank you Merlin, quick question about the 'BasicExternalObject' will this contain UI examples or just the connection to the API calls through Js?

SuperMerlin
Inspiring
October 25, 2017

There is an example of a dll in the Bridge SDK Bridge Developer Center

It also shows how to interface with JSX.

Jarda Bereza
Inspiring
October 25, 2017

Your .dll (with different name in extension) should have JSX interface. So you can use classic Action Manager code for you own plugin.