Discuss how to write good code, break bad code, your current pet projects, or the best way to approach novel problems


Post by centip3de on Tue Aug 02, 2011 5:30 pm
([msg=60467]see Add-on's?[/msg])

I've always wondered, how an add-on works... Though I guess I should define what type of add-on I'm using (I see two different types). I'm using the unsupported ad-on, or an add-on for a program that doesn't support add-on's. For instance; say I wanted to make an add-on for Microsoft Word, the only ways I could see doing that, is by either it being open source, in which case you would just go and edit Microsoft Word to accept your add-on. Or by reverse engineering it, and blindly plundering where no man has plundered before. But I assume that there has to be a better way then either of the ones I listed. I mean, unless you go and replace a few DLL's and _then_ install your add-on, I don't see how it can possibly work. Help?

Programming today is a race between software engineers striving to build bigger and better idiot-proof programs, and the Universe trying to produce bigger and better idiots. So far, the Universe is winning. -Rick Cook
User avatar
Posts: 1479
Joined: Fri Aug 20, 2010 5:46 pm
Blog: View Blog (0)

Re: Add-on's?

Post by Assassian360 on Tue Aug 02, 2011 6:15 pm
([msg=60471]see Re: Add-on's?[/msg])

Programs that support Add-ons or Plugins vary a lot in their level of support. Searching on google you will find lots of pages about how they work. But going with your example of Microsoft Word the following link explains how you can create a plugin for it. Once you have developed it and done whatever install is required (I didn't bother reading that far in the tutorial while looking) it will then likely be registered in Word. And so Word will know that when it loads it also has to load the plugin/s. Thus, add-ons and plugins typically won't need you to modify or replace core files of the program if there is the ability to have them.

Nearly forgot the link I was talking about.
Posts: 135
Joined: Sat Jun 26, 2010 1:37 am
Blog: View Blog (0)

Return to Programming

Who is online

Users browsing this forum: No registered users and 0 guests