TC 9.0 b6 'Take ownership' function does not work

The behaviour described in the bug report is either by design, or would be far too complex/time-consuming to be changed

Moderators: Hacker, petermad, Stefan2, white

Post Reply
mwz
Junior Member
Junior Member
Posts: 24
Joined: 2011-09-30, 10:30 UTC
Location: Russia, Moscow
Contact:

TC 9.0 b6 'Take ownership' function does not work

Post by *mwz »

When select the 2202="Take ownership (NTFS)" function of Wcmd_xxx.inc, get an error message that a component is not compatible with any Windows version after WS-2003:

Image: http://mwz-ru.homeserver.com/main/tests/TC_Ownership.gif

Tried that in Windows7 SP1 RUS (the message is in Russian then, of course) and ENU, both x64 and x86.
User avatar
sqa_wizard
Power Member
Power Member
Posts: 3893
Joined: 2003-02-06, 11:41 UTC
Location: Germany

Post by *sqa_wizard »

Yes, it is due to the fact, that MS drops API support for this function.

See This and This ...
#5767 Personal license
mwz
Junior Member
Junior Member
Posts: 24
Joined: 2011-09-30, 10:30 UTC
Location: Russia, Moscow
Contact:

Post by *mwz »

sqa_wizard wrote:Yes, it is due to the fact, that MS drops API support for this function
<...>
Then pobably it is better to exclude this finction from Total Commander at all, or to call the standard Properties dialog of Windows, as for
514="Share directory"
515="Unshare directory"
functions.
a.k.a. Mikhail Zhilin, #12316 Personal license
User avatar
sqa_wizard
Power Member
Power Member
Posts: 3893
Joined: 2003-02-06, 11:41 UTC
Location: Germany

Post by *sqa_wizard »

hen pobably it is better to exclude this finction from Total Commander at all,
Well, this function works fine on Windows XP and all previous OS.
... and Yes, this old OS are still in use all over the world
... and Yes, TC still works even on Windows 98
#5767 Personal license
mwz
Junior Member
Junior Member
Posts: 24
Joined: 2011-09-30, 10:30 UTC
Location: Russia, Moscow
Contact:

Post by *mwz »

2sqa_wizard Well. :)

I use TC since approx. 1995, i.e. since the times of Win-3.1 when it was Windows Commander.
But such error messages from the operating system make suspect, that something is wrong in the program — and probably not only in this part.

The obvious check is something like (in short):

If ver < Vista then call API
else call Properties dialog

But yes, I do understand that it will icrease the size of the code...
a.k.a. Mikhail Zhilin, #12316 Personal license
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 50550
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Post by *ghisler(Author) »

Unfortunately there are no direct repacements - but you can use the "properties" dialog to achieve most of what the old dialogs did.
Author of Total Commander
https://www.ghisler.com
mwz
Junior Member
Junior Member
Posts: 24
Joined: 2011-09-30, 10:30 UTC
Location: Russia, Moscow
Contact:

Post by *mwz »

2ghisler(Author)
Yes, I know that: see my second line under "The obvious check" line.
As I see, that was a bug report of my perfectionism. :)
a.k.a. Mikhail Zhilin, #12316 Personal license
Post Reply