Welcome Guest.   Make a donation to an author on the site October 20, 2014, 08:07:36 AM  *

Please login or register.
Or did you miss your validation email?


Login with username and password (forgot your password?)
Why not become a lifetime supporting member of the site with a one-time donation of any amount? Your donation entitles you to a ton of additional benefits, including access to exclusive discounts and downloads, the ability to enter monthly free software drawings, and a single non-expiring license key for all of our programs.


You must sign up here before you can post and access some areas of the site. Registration is totally free and confidential.
 
Read the full one-year retrospective report on DonationCoder.com.
   
   Forum Home   Thread Marks Chat! Downloads Search Login Register  
Pages: [1]   Go Down
  Reply  |  New Topic  |  Print  
Author Topic: Plugins  (Read 1265 times)
TaoPhoenix
Supporting Member
**
Posts: 3,584



0 - 60 ... then back to 0 again!

see users location on a map View Profile Give some DonationCredits to this forum member
« on: May 06, 2012, 04:14:38 AM »


Can a good programmer create plugins for any application? Can you just hand someone an EXE and say "write a plugin for this" or do they need API's or such?
Logged
fenixproductions
Honorary Member
**
Posts: 1,169



see users location on a map View Profile WWW Give some DonationCredits to this forum member
« Reply #1 on: May 06, 2012, 05:10:51 AM »

Good programmer may not need any API/SDK and create DLL which will inject its code on runtime into desired application (i.e. TWinKey) but this is not very secure way and it is prone to errors. In some scenarios may also be malicious.

Standard way is to have proper API from software developer: easier to maintain, debug and test. If such documentation does not exist: beg for it Wink
Or use macro tools/languages like AutoHotkey or AutoIt.
Logged

Надо было учиться, а не камни в школу бросать...
--
When I am bored I write for displaynone smiley
--
f0dder is my personal hero smiley
vlastimil
Honorary Member
**
Posts: 305



see users location on a map View Profile Give some DonationCredits to this forum member
« Reply #2 on: May 06, 2012, 05:13:26 AM »

If the application has an interface for plug-ins and the programmer has infinite time, then yes, they can create plug-ins for anything. In reality, the programmer needs something to guide them. Having documentation, API specification, or an example helps. Without them, it is like creating a key without knowing anything about a lock.
Logged
TaoPhoenix
Supporting Member
**
Posts: 3,584



0 - 60 ... then back to 0 again!

see users location on a map View Profile Give some DonationCredits to this forum member
« Reply #3 on: May 06, 2012, 05:19:58 AM »

If the application has an interface for plug-ins and the programmer has infinite time, then yes, they can create plug-ins for anything. In reality, the programmer needs something to guide them. Having documentation, API specification, or an example helps. Without them, it is like creating a key without knowing anything about a lock.

So some applications don't have a plugin interface at all?
Logged
db90h
Coding Snacks Author
Charter Member
***
Posts: 455


Software Engineer

View Profile WWW Read user's biography. Give some DonationCredits to this forum member
« Reply #4 on: May 06, 2012, 05:43:29 AM »

So some applications don't have a plugin interface at all?

Right. They have no plug-in interface. Most don't, in fact. I mean, that's something a programmer adds if there is a need, not by default.

However, the poster was expressing the possibility that with *MUCH WORK* an external programmer could come in and create such an interface. Without the source code, this requires massive amounts of work, reverse engineering, and even then it may have limitations or be imperfect. The mechanism would involve injection into the process, then modification of the applicable code, on the instruction set level -- making the whole thing also very prone to errors and other risks.

In the case of signed executables, other platforms, or certain protection schemes, creation of such a 'third-party API interface into a program that has no plug-in interface' could be infeasible.
Logged
Pages: [1]   Go Up
  Reply  |  New Topic  |  Print  
 
Jump to:  
   Forum Home   Thread Marks Chat! Downloads Search Login Register  

DonationCoder.com | About Us
DonationCoder.com Forum | Powered by SMF
[ Page time: 0.032s | Server load: 0.13 ]