This forum uses cookies. Click X button to hide this message. What is stored? / Privacy
Total Commander Forum Index Total Commander
Forum - Public Discussion and Support
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Plugin interface descriptions for TC 7.55 (beta)
Goto page Previous  1, 2, 3, 4  Next
 
Post new topic   Reply to topic    Total Commander Forum Index -> Plugins and addons: devel.+support (English) Printable version
View previous topic :: View next topic  
Author Message
Flint
Power Member
Power Member


Joined: 27 Oct 2003
Posts: 3141
Location: Moscow, Russia

PostPosted: Thu Jul 15, 2010 8:48 am    Post subject: Reply with quote

BTW, isn't it time to move the specifications out of beta?
_________________
Flint's Homepage: Full TC Russification Package, VirtualDisk, NTFS Links, NoClose Replacer, other stuff!
 
Using TC 9.20rc2 / Win7 x32 & x64 SP1
Back to top
View user's profile Send private message Send e-mail Visit poster's website
ghisler(Author)
Site Admin
Site Admin


Joined: 04 Feb 2003
Posts: 35767
Location: Switzerland

PostPosted: Sun Jul 18, 2010 7:48 am    Post subject: Reply with quote

Yes, I think that this is a good idea - when I find the time...
_________________
Author of Total Commander
http://www.ghisler.com
Back to top
View user's profile Send private message Send e-mail Visit poster's website
ghisler(Author)
Site Admin
Site Admin


Joined: 04 Feb 2003
Posts: 35767
Location: Switzerland

PostPosted: Fri Jul 23, 2010 2:48 pm    Post subject: Reply with quote

The plugin writer's guides are out of beta now, you can get them from the plugins page here:
http://www.ghisler.com/plugins.htm

There were no changes to the actual functions since the last beta.
_________________
Author of Total Commander
http://www.ghisler.com
Back to top
View user's profile Send private message Send e-mail Visit poster's website
Flint
Power Member
Power Member


Joined: 27 Oct 2003
Posts: 3141
Location: Moscow, Russia

PostPosted: Wed Jul 28, 2010 2:45 am    Post subject: Reply with quote

ghisler(Author)
Hm… I just looked there, but there are still old versions (2.20 for WCX, 2.0 for WDX/WFX/WLX).
_________________
Flint's Homepage: Full TC Russification Package, VirtualDisk, NTFS Links, NoClose Replacer, other stuff!
 
Using TC 9.20rc2 / Win7 x32 & x64 SP1
Back to top
View user's profile Send private message Send e-mail Visit poster's website
ghisler(Author)
Site Admin
Site Admin


Joined: 04 Feb 2003
Posts: 35767
Location: Switzerland

PostPosted: Wed Jul 28, 2010 8:57 am    Post subject: Reply with quote

Thanks for the warning, please try again now!
_________________
Author of Total Commander
http://www.ghisler.com
Back to top
View user's profile Send private message Send e-mail Visit poster's website
Flint
Power Member
Power Member


Joined: 27 Oct 2003
Posts: 3141
Location: Moscow, Russia

PostPosted: Wed Jul 28, 2010 10:24 am    Post subject: Reply with quote

Nearly everything's fine, just fix the typo on the Plugins page that refers to inexistent file:
http://ghisler.fileburst.com/content/contentpluginhelp2.2.zip
The link should be:
http://ghisler.fileburst.com/content/contentpluginhelp2.1.zip
_________________
Flint's Homepage: Full TC Russification Package, VirtualDisk, NTFS Links, NoClose Replacer, other stuff!
 
Using TC 9.20rc2 / Win7 x32 & x64 SP1
Back to top
View user's profile Send private message Send e-mail Visit poster's website
ghisler(Author)
Site Admin
Site Admin


Joined: 04 Feb 2003
Posts: 35767
Location: Switzerland

PostPosted: Thu Jul 29, 2010 9:14 am    Post subject: Reply with quote

Thanks - seems to be on the English page only...
_________________
Author of Total Commander
http://www.ghisler.com
Back to top
View user's profile Send private message Send e-mail Visit poster's website
ts4242
Power Member
Power Member


Joined: 02 Feb 2004
Posts: 1909
Location: Egypt

PostPosted: Tue Mar 29, 2011 1:28 pm    Post subject: Reply with quote

2ghisler(Author)

All Plugin interface descriptions are use hlp format. Is it possible to provide them as chm? because Win 7 doesn't support the hlp format without a special download.

Of course i can convert them myself, but it is better to be available for all plugins page visitors.
_________________
Author of Ultra TC Editors
Back to top
View user's profile Send private message Send e-mail Visit poster's website
ghisler(Author)
Site Admin
Site Admin


Joined: 04 Feb 2003
Posts: 35767
Location: Switzerland

PostPosted: Thu Mar 31, 2011 6:36 am    Post subject: Reply with quote

I will consider it - but I think that developpers should be clever enough to install the hlp viewer for Windows 7. Smile
_________________
Author of Total Commander
http://www.ghisler.com
Back to top
View user's profile Send private message Send e-mail Visit poster's website
MVV
Power Member
Power Member


Joined: 03 Aug 2008
Posts: 8040
Location: Russian Federation

PostPosted: Wed Apr 06, 2011 7:51 am    Post subject: Reply with quote

ghisler(Author) wrote:
I will consider it - but I think that developpers should be clever enough to install the hlp viewer for Windows 7. Smile

Agree. Smile


Christian,

I found an error in ContentDefaultParamStruct description (WDX API help):
Quote:
typedef struct {

int size;
DWORD PluginInterfaceVersionLow;
DWORD PluginInterfaceVersionHi;
char DefaultIniName[MAX_PATH];
} ListDefaultParamStruct;


_________________
TCFS2 + TCFS2Tools: Full-screen mode for TC etc (forum)
TOTALCMD.NET: AskParam, CopyTree, NTLinks, Sudo, VirtualPanel…
Back to top
View user's profile Send private message Send e-mail
ghisler(Author)
Site Admin
Site Admin


Joined: 04 Feb 2003
Posts: 35767
Location: Switzerland

PostPosted: Thu Apr 07, 2011 6:50 am    Post subject: Reply with quote

I will fix it, thanks!
_________________
Author of Total Commander
http://www.ghisler.com
Back to top
View user's profile Send private message Send e-mail Visit poster's website
MVV
Power Member
Power Member


Joined: 03 Aug 2008
Posts: 8040
Location: Russian Federation

PostPosted: Fri Mar 02, 2012 1:44 am    Post subject: Reply with quote

Christian, it would be great to reflect details described here in API documentation (use MaxLen parameter name for string lengths, MaxChars for buffer sizes in characters, MaxBytes for buffer sizes in Bytes, and use const modifier for input only strings/buffers/structs).
_________________
TCFS2 + TCFS2Tools: Full-screen mode for TC etc (forum)
TOTALCMD.NET: AskParam, CopyTree, NTLinks, Sudo, VirtualPanel…
Back to top
View user's profile Send private message Send e-mail
ghisler(Author)
Site Admin
Site Admin


Joined: 04 Feb 2003
Posts: 35767
Location: Switzerland

PostPosted: Fri Mar 02, 2012 4:23 am    Post subject: Reply with quote

Unfortunately changing these headers would probably break almost all existing plugins...
_________________
Author of Total Commander
http://www.ghisler.com
Back to top
View user's profile Send private message Send e-mail Visit poster's website
MVV
Power Member
Power Member


Joined: 03 Aug 2008
Posts: 8040
Location: Russian Federation

PostPosted: Fri Mar 02, 2012 6:44 am    Post subject: Reply with quote

Christian, no one tells to authors of existing plugins to use theese headers, they can still use their own old copies. But new ones will use correct headers.

And, only a few changes in code required - to add const modifiers for pointers that work with input (constant) strings/buffers (such buffers must not be written anyway).

Also, if function prototype differs from its declaration in CPP, compiler just ignores prototype (if function is not called from another CPP by including header with prototype). Even more, it is OK when variable names in prototypes and realization differ (compiler compares only types).
_________________
TCFS2 + TCFS2Tools: Full-screen mode for TC etc (forum)
TOTALCMD.NET: AskParam, CopyTree, NTLinks, Sudo, VirtualPanel…
Back to top
View user's profile Send private message Send e-mail
ghisler(Author)
Site Admin
Site Admin


Joined: 04 Feb 2003
Posts: 35767
Location: Switzerland

PostPosted: Fri Mar 02, 2012 10:42 am    Post subject: Reply with quote

For example, people who add Unicode support to their plugins will get the latest headers - but this will break their existing plugins if the parameters change.
_________________
Author of Total Commander
http://www.ghisler.com
Back to top
View user's profile Send private message Send e-mail Visit poster's website
Display posts from previous:   
Post new topic   Reply to topic    Total Commander Forum Index -> Plugins and addons: devel.+support (English) All times are GMT - 6 Hours
Goto page Previous  1, 2, 3, 4  Next
Page 2 of 4

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Imprint/Impressum: This site is maintained by Ghisler Software GmbH
Privacy Policy | Datenschutzerklärung | Politique de Confidentialité

Using phpBB © phpBB Group