Hi all,
I'm developing a fs plugin but am experiencing some problems.
My FsFindFirst() and FsFindNext() is being called by tcmd and I can see the file list being populated with the correct file names.
When there is no more files my FsFindNext() returns false. Then to my surprise FsFindFirst() is being called once again followed by calls FsFindNext().
Happens every time. Any ideas to why tcmd calls FsFindNext() twice?
.Henrik
File system plugin strangeness
Moderators: Hacker, petermad, Stefan2, white
-
- Junior Member
- Posts: 39
- Joined: 2003-03-24, 10:47 UTC
- André Martin
- Senior Member
- Posts: 245
- Joined: 2003-02-05, 15:46 UTC
- Location: Dresden, Germany
I can confirm this behavior when using the debugger but I am not really sure if it also happens when TC & the plugin runs in non debugging mode - hm - very strange anyway...
Browse the web with the HTTP SmartBrowserPlugin
Check your mails with the POP3/SMTP EmailPlugin!
Check your mails with the POP3/SMTP EmailPlugin!
-
- New Member
- Posts: 1
- Joined: 2004-01-08, 08:14 UTC
- Location: Russia, Rostov-On-Don
Another strangeness in fs_plugin
deleted...
Last edited by Mighty_Bear on 2004-01-12, 07:03 UTC, edited 1 time in total.
-
- Junior Member
- Posts: 39
- Joined: 2003-03-24, 10:47 UTC
- ghisler(Author)
- Site Admin
- Posts: 50386
- Joined: 2003-02-04, 09:46 UTC
- Location: Switzerland
- Contact:
When Total Commander loses focus to another task and gets back the focus, it tries to re-read the directory - apparently SHBrowseForFolder() is causing such a task switch...
Author of Total Commander
https://www.ghisler.com
https://www.ghisler.com
-
- Junior Member
- Posts: 39
- Joined: 2003-03-24, 10:47 UTC