Blog: Merged Folders and undocumented interfaces

Here you can discuss ReactOS related topics.

Moderator: Moderator Team

vicmarcal
Test Team
Posts: 2732
Joined: Mon Jul 07, 2008 12:35 pm

Blog: Merged Folders and undocumented interfaces

Post by vicmarcal » Sat Jul 12, 2014 5:17 pm

Image

erkinalp
Posts: 792
Joined: Sat Dec 20, 2008 5:55 pm

Re: Blog: Merged Folders and undocumented interfaces

Post by erkinalp » Sat Jul 12, 2014 8:00 pm

It would be better if you provide a way to rename predefined menu folders.(Maybe someone wants to rename 'Programs' into 'Programs That Have Bothered to Create Shortcuts', 'Start' into 'Begin Reacting')
-uses Ubuntu+GNOME 3 GNU/Linux
-likes Free (as in freedom) and Open Source Detergents
-favors open source of Windows 10 under GPL2

gigaherz
Posts: 92
Joined: Sat Jan 21, 2006 9:26 pm

Re: Blog: Merged Folders and undocumented interfaces

Post by gigaherz » Sat Jul 12, 2014 9:50 pm

If I recall correctly the folders are defined in the registry, so it's theoretically possible to rename/relocate them. Problem is for many of the folders, you can't do that while programs are running inside them.

erkinalp
Posts: 792
Joined: Sat Dec 20, 2008 5:55 pm

Re: Blog: Merged Folders and undocumented interfaces

Post by erkinalp » Sat Jul 12, 2014 10:26 pm

An unlocked file opening mode will solve the rename issue, though, Windows does not have one.
-uses Ubuntu+GNOME 3 GNU/Linux
-likes Free (as in freedom) and Open Source Detergents
-favors open source of Windows 10 under GPL2

Webunny
Posts: 1201
Joined: Sat Apr 28, 2012 1:30 pm

Re: Blog: Merged Folders and undocumented interfaces

Post by Webunny » Sat Jul 12, 2014 11:41 pm

An interesting read, as usual.

PurpleGurl
Posts: 1750
Joined: Fri Aug 07, 2009 5:11 am
Location: USA

Re: Blog: Merged Folders and undocumented interfaces

Post by PurpleGurl » Sun Jul 13, 2014 1:13 am

gigaherz wrote:If I recall correctly the folders are defined in the registry, so it's theoretically possible to rename/relocate them. Problem is for many of the folders, you can't do that while programs are running inside them.
Yes that is true. And sloppy coders might hard code them and then cannot find the custom ones since they don't properly utilize the registry or environment variables. That would not be a ROS problem, but a compatibility one caused by 3rd party vendors who break the rules.
erkinalp wrote:An unlocked file opening mode will solve the rename issue, though, Windows does not have one.
Or use a tool that lets you do things on reboot. Yes, we likely won't have an unlocker since Windows doesn't, but anyone can download and install Unlocker. It is a simple shell extension and all you have to do is right click the locked file and go to Unlocker and have options on what you want to do with the file.

gigaherz
Posts: 92
Joined: Sat Jan 21, 2006 9:26 pm

Re: Blog: Merged Folders and undocumented interfaces

Post by gigaherz » Sun Jul 13, 2014 1:46 am

PurpleGurl wrote:
gigaherz wrote:If I recall correctly the folders are defined in the registry, so it's theoretically possible to rename/relocate them. Problem is for many of the folders, you can't do that while programs are running inside them.
Yes that is true. And sloppy coders might hard code them and then cannot find the custom ones since they don't properly utilize the registry or environment variables. That would not be a ROS problem, but a compatibility one caused by 3rd party vendors who break the rules.
erkinalp wrote:An unlocked file opening mode will solve the rename issue, though, Windows does not have one.
Or use a tool that lets you do things on reboot. Yes, we likely won't have an unlocker since Windows doesn't, but anyone can download and install Unlocker. It is a simple shell extension and all you have to do is right click the locked file and go to Unlocker and have options on what you want to do with the file.
In my opinion, we should do things right, and if we find programs doing things wrong, make some sort of compatibility setting for that. Which is what NT6 does.

dizt3mp3r
Posts: 1381
Joined: Mon Jun 14, 2010 5:54 pm

Re: Blog: Merged Folders and undocumented interfaces

Post by dizt3mp3r » Sun Jul 13, 2014 5:10 pm

Always impressed by the ability of proper programmers to understand the intricacies of convoluted Windows o/s level progamming,even if not the Windows core it all seems unnecessarily complicated. Kudos to you for being able to do it.

gigaherz
Posts: 92
Joined: Sat Jan 21, 2006 9:26 pm

Re: Blog: Merged Folders and undocumented interfaces

Post by gigaherz » Sun Jul 13, 2014 5:23 pm

dizt3mp3r wrote:Always impressed by the ability of proper programmers to understand the intricacies of convoluted Windows o/s level progamming,even if not the Windows core it all seems unnecessarily complicated. Kudos to you for being able to do it.
Thanks! I like to think I have a talent for understanding how things work, but working on ReactOS keeps reminding me just how complex puzzles can really be.

dizt3mp3r
Posts: 1381
Joined: Mon Jun 14, 2010 5:54 pm

Re: Blog: Merged Folders and undocumented interfaces

Post by dizt3mp3r » Sun Jul 13, 2014 5:49 pm

I read all your posts and I am always faced with an impression of the huge task that ReactOS programmers have set themselves. I have programmed for years in QB4.5, DCL, VB6, PHP and javascript as well as bein a sys. admin for VMS systems and I have no idea where to begin on the sort of programming practices/methods/terminology that you use. It is only when you have a certain level of competence that you can truly realise how ignorant one is.
Last edited by dizt3mp3r on Mon Jul 14, 2014 2:24 pm, edited 1 time in total.

BigChimp
Posts: 6
Joined: Sun Nov 25, 2012 4:16 pm

Re: Blog: Merged Folders and undocumented interfaces

Post by BigChimp » Mon Jul 14, 2014 12:40 pm

Nice to see progress, gigaherz - not just because it's progress but more importantly because trying to fix bugs for hours or days and not succeeding can be intensely frustrating ;)

Keep up the good work!

gigaherz
Posts: 92
Joined: Sat Jan 21, 2006 9:26 pm

Re: Blog: Merged Folders and undocumented interfaces

Post by gigaherz » Mon Jul 14, 2014 1:25 pm

BigChimp wrote:Nice to see progress, gigaherz - not just because it's progress but more importantly because trying to fix bugs for hours or days and not succeeding can be intensely frustrating ;)

Keep up the good work!
Thanks! And yes, it is.

dsp8195
Posts: 86
Joined: Fri Feb 07, 2014 5:35 am

Re: Blog: Merged Folders and undocumented interfaces

Post by dsp8195 » Mon Jul 14, 2014 8:57 pm

[deleted]
Last edited by dsp8195 on Tue Jul 22, 2014 8:49 am, edited 1 time in total.

middings
Posts: 986
Joined: Tue May 07, 2013 9:18 pm
Location: California, USA

Re: Blog: Merged Folders and undocumented interfaces

Post by middings » Mon Jul 14, 2014 11:40 pm

dsp8195 wrote:What I think is "sloppy programmers" should've been punished severely each time they hard code paths. I've met examples when they even hard coded paths to System32 and, surprise, I'm never installing Windows into "Windows" directory.
Such punishment is a job for instructors, mentors, colleagues, employers, and customers. If OS builders choose to dish out punishment, they strike the end users and their own customers not those sloppy programmers.

Raymond Chen discussed Why not just block the apps that rely on undocumented behavior? and What about BOZOSLIVEHERE and TABTHETEXTOUTFORWIMPS? during the early days of Windows XP in his blog The Old New Thing. His examples were taken from his experiences with Windows 3.1 and Windows 95 but his criticisms, laments, and lessons still sometimes apply today.

Webunny
Posts: 1201
Joined: Sat Apr 28, 2012 1:30 pm

Re: Blog: Merged Folders and undocumented interfaces

Post by Webunny » Mon Jul 21, 2014 7:32 pm

Hmmm...isn't the next report/blog/progression-status overdue again?

Or did Giga have leave for the summer-vacation? :P

Post Reply

Who is online

Users browsing this forum: DotBot [Crawler], Google [Bot], Trendiction [Bot] and 1 guest