Report: some TC functions not compatible with Vista

English support forum

Moderators: Stefan2, white, sheep, Hacker

Post Reply
User avatar
D1P
Senior Member
Senior Member
Posts: 233
Joined: 2005-02-28, 18:29 UTC
Location: Moscow
Contact:

Report: some TC functions not compatible with Vista

Post by *D1P » 2006-07-26, 08:51 UTC

I use TC 6.55b3 and Win Vista B2 Build 5384. If i try to change file/folder permissions with cm_EditPermissionInfo/cm_EditAuditInfo/cm_EditOwnerInfo commands, Vista display the next message:

---------------------------
Windows
---------------------------
Windows cannot edit permissions as requested because a component of the software you are using that is required to perform that function is not compatible with any version of Windows released after Windows Server 2003. Contact your software vendor to find out if this software has been updated for current versions of Windows.
---------------------------
OK
---------------------------

Its all.

User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 37495
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Post by *ghisler(Author) » 2006-07-26, 15:36 UTC

Unfortunately there is no replacement for these functions in Windows Vista, I'm sorry.

Rewriting these dialogs is a LOT of work. An incomplete implementation can be found here:
http://codeproject.com/win32/accessctrl4.asp

I really don't understand why Microsoft have removed these dialogs. Perhaps they don't want users to change permissions any more?
Author of Total Commander
http://www.ghisler.com

User avatar
D1P
Senior Member
Senior Member
Posts: 233
Joined: 2005-02-28, 18:29 UTC
Location: Moscow
Contact:

Post by *D1P » 2006-07-27, 11:28 UTC

Perhaps they don't want users to change permissions any more?
May be MS want restrict change permissions with third-party software? Standard security dialogs in Vista Explorer work likewise in XP.

User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 37495
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Post by *ghisler(Author) » 2006-07-27, 12:54 UTC

What standard security dialogs? Are there any in the property sheet (Alt+Enter, also available in TC)? I just tried Vista Home so far, and there aren't any security dialogs if I remember correctly.
Author of Total Commander
http://www.ghisler.com

User avatar
Lefteous
Power Member
Power Member
Posts: 9457
Joined: 2003-02-09, 01:18 UTC
Location: Germany
Contact:

Post by *Lefteous » 2006-07-27, 13:10 UTC

The named commands just call old dialogs which where dropped by Microsoft. They have been replaced by the standard security property sheet page. This is almost the same in 2000/XP/Vista.
http://www.lefteous.de/tc/images/misc/vista_security_dialog.png

User avatar
D1P
Senior Member
Senior Member
Posts: 233
Joined: 2005-02-28, 18:29 UTC
Location: Moscow
Contact:

Post by *D1P » 2006-07-27, 19:10 UTC

The named commands just call old dialogs which where dropped by Microsoft. They have been replaced by the standard security property sheet page. This is almost the same in 2000/XP/Vista.
Yes, i tell about this dialogs.
May be it possible to implement Explorer dialogs calling on cm_EditPermissionInfo instead old dialogs (of cource, only if TC runned uder Vista)?

User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 37495
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Post by *ghisler(Author) » 2006-07-27, 21:43 UTC

Just use cm_Properties to open the property sheet. To my knowledge, there is no way to open the permissions page directly, though.
Author of Total Commander
http://www.ghisler.com

User avatar
D1P
Senior Member
Senior Member
Posts: 233
Joined: 2005-02-28, 18:29 UTC
Location: Moscow
Contact:

Post by *D1P » 2006-07-28, 20:32 UTC

Ok, thank you.

User avatar
Sam_Zen
Power Member
Power Member
Posts: 700
Joined: 2005-02-08, 22:59 UTC
Location: NL
Contact:

Post by *Sam_Zen » 2006-07-28, 21:52 UTC

I would say : some Vista functions not compatible with TC ..
0.618033988

User avatar
Clo
Moderator
Moderator
Posts: 5731
Joined: 2003-12-02, 19:01 UTC
Location: Bordeaux, France
Contact:

Clap, clap !

Post by *Clo » 2006-07-28, 22:52 UTC

2Sam_Zen

:) Hi Sam !

:lol: I agree !

:mrgreen: KR
Claude
Clo
#31505 Traducteur Français de TC French translator Aide en Français Tutoriels Français English Tutorials

User avatar
HolgerK
Power Member
Power Member
Posts: 5075
Joined: 2006-01-26, 22:15 UTC
Location: Europe, Aachen

Post by *HolgerK » 2008-01-13, 17:16 UTC

ghisler(Author) wrote:Just use cm_Properties to open the property sheet. To my knowledge, there is no way to open the permissions page directly, though.
It's not on my personal wish list, I can live with <Alt+Enter><Cntrl+Tab><Alt+V> to open the "Advanced Security Settings" Dialog.
But maybe MSDN:Access Control Editor can be used to open these pages directly.

There is also an article in German Delphi für Win32 Standard-Dialog für Zugriffsrechte in eigenen Programmen , including Delphi sample code.

Kind regards,
Holger

User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 37495
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Post by *ghisler(Author) » 2008-01-14, 20:24 UTC

Unfortunately using the access control editor is very very complex. It's more or less the bare property sheet, almost all the work has to be done by the user. You can find a project using it on codeproject:
http://www.codeproject.com/KB/winsdk/accessctrl4.aspx
Author of Total Commander
http://www.ghisler.com

User avatar
HolgerK
Power Member
Power Member
Posts: 5075
Joined: 2006-01-26, 22:15 UTC
Location: Europe, Aachen

Post by *HolgerK » 2008-01-14, 21:22 UTC

ghisler(Author) wrote:It's more or less the bare property sheet, almost all the work has to be done by the user.
Aah, I see.
If the "Advanced Security Settings" dialog can't be opened directly, the only advantage is to save one single keystroke or a mouse click.
Not worth for the effort.

Thanks for the link.
Holger

Post Reply