How to write plug-ins??

  • Thread starter Thread starter Kelvin
  • Start date Start date
K

Kelvin

To all,

I've got another question. Does anybody know how to write
plug-ins using VC++??

Actually, my friends and I will develop a Photo enhancing
system, and so we'll need some technique to allow
additional packages/plugins to attach the system. (maybe
need to integrate commercial plugins such as KPT6--
photoshop)

Then we will need to know exactly the theory behind, the
architecture for the plugin side or the system side.

Thanks a million!

From Kusanagihk
 
Kelvin said:
To all,

I've got another question. Does anybody know how to write
plug-ins using VC++??

What you could do is designing a DLL interface.
Plugins are DLLs which implement that interface.
At run-time you look for plugins at a specific
location, try to load them, and try to find the
functions of your interface. If they're there,
call them to initiate the handshake necessary
for your application and the plugin to work
together.
[...]
From Kusanagihk


Schobi

--
(e-mail address removed) is never read
I'm Schobi at suespammers dot org

"And why should I know better by now/When I'm old enough not to?"
Beth Orton
 
Lets say you want to develop an application that uses plug ins. And you
want your application to be able to use third party plugins that already
exist. Like Adobe PhotoShop Pro. You can get Adobe's SDK that provides
all of the information needed to develop plug ins for their app. Then
take that SDK and write an appliaction that accepts plugins that
conform. You then have an application that will accept Adobe plugins.
You also get a line of lawyers at your door to sue you.

It seems that the liscence for Adobe SDK states that its only use is to
develop plugins for Adobe. This would tend to restrict things. So it
might be best to go out and get a plugin then using standard
tools/debuggers take apart the plug in and figure out how it works on
your own. Then you would not be in violation of the license agreement.

Of course I am not a lawyer so what I say has no standing. Please see a
real lawyer.


Kelvin said:
To all,

I've got another question. Does anybody know how to write
plug-ins using VC++??

What you could do is designing a DLL interface.
Plugins are DLLs which implement that interface.
At run-time you look for plugins at a specific
location, try to load them, and try to find the
functions of your interface. If they're there,
call them to initiate the handshake necessary
for your application and the plugin to work
together.
[...]
From Kusanagihk


Schobi
 
Back
Top