![]() |
|
|
The home of Cobian Backup |
|
|
CobView Create plug-ins Please, download this DEMO plug-in in Delphi If you are a developer, you may want to create your own plug-in. If you create a cool plug-in and want to publish it, please, send it to me to cobian@educ.umu.se and I will put it on the program's site. I am NOT responsible for any 3rd parts plug-in. You, as the plug-in author are the responsible for your plug-in functionality and support. How does it work? CobView is a shell extension in the form of a context menu that shows when the user right clicks on any file or folder on Windows Explorer. When the user clicks on CobView, the following actions happen:
As a plug-in developer you can create your plug-ins in any language you want. A plug-in MUST have 2 exported procedures with a fixed format. All other procedures and functions are free. You can download a plug-in example from http://www.educ.umu.se/~cobian/programz/pluginsample.zip The two obligatory procedures that must be present on a plug-in are: procedure RegisterExt;stdcall; procedure ShowInfo(FileName:PChar);stdcall; The first procedure is used to register the extensions by the program CobReg.exe. An example in Delphi of what this procedure may do is: procedure RegisterExt;stdcall; In this example, the program will register the extensions ex1 and ex2 to be open with your plug-in. The second procedure will receive the file name as a PChar and it is up to you what to do with this file name. I recommend you to download the sample program from my site. Some guidelines:
Happy programming! |
|
|
©1997-2005 by Luis Cobian |
|