Report: some TC functions not compatible with Vista

English support forum

Moderators: white, Hacker, petermad, Stefan2

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 »

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: 48077
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Post by *ghisler(Author) »

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
https://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 »

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: 48077
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Post by *ghisler(Author) »

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
https://www.ghisler.com
User avatar
Lefteous
Power Member
Power Member
Posts: 9535
Joined: 2003-02-09, 01:18 UTC
Location: Germany
Contact:

Post by *Lefteous »

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 »

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: 48077
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Post by *ghisler(Author) »

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
https://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 »

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 »

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 »

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: 5406
Joined: 2006-01-26, 22:15 UTC
Location: Europe, Aachen

Post by *HolgerK »

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: 48077
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Post by *ghisler(Author) »

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
https://www.ghisler.com
User avatar
HolgerK
Power Member
Power Member
Posts: 5406
Joined: 2006-01-26, 22:15 UTC
Location: Europe, Aachen

Post by *HolgerK »

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