Page 1 of 1

Need very basic starter for use of MadShell in Delphi

Posted: Wed Nov 08, 2017 4:30 pm
by MrMajorThorburn
I'm still very much a learner of Delphi and wondered if anyone had a simple starter project I could use to list the names of the icons on the desktop.
That will give me a good stepping stone over the lake I'm approaching and stop me getting too wet right at the beginning of my path to the island of knowledge I can see out there and hope to reach some day.
Regards, 70+ year old with over 50 years of involvement in computing systems and still enjoying the hobby.

Re: Need very basic starter for use of MadShell in Delphi

Posted: Thu Nov 09, 2017 1:42 pm
by madshi
There's a demo project in the madShell\Demos folder which deals with desktop icon names.

Re: Need very basic starter for use of MadShell in Delphi

Posted: Thu Nov 09, 2017 5:37 pm
by MrMajorThorburn
Thanks you very much.
That was what I wanted.
Can get my grey matter churning now.

Re: Need very basic starter for use of MadShell in Delphi

Posted: Tue Nov 14, 2017 11:30 am
by MrMajorThorburn
I am sorry but I cant seem to get that to work. I am using Embarcadero Delphi, current free version.
I get the IsValid part and have confirmed s1 does get reset to an empty string and the count of items is not 0 but all the items return p1.x as -1 so no items are being returned.
Am I missing something?

Re: Need very basic starter for use of MadShell in Delphi

Posted: Tue Nov 14, 2017 11:59 am
by madshi
I haven't tested the desktop position functionality in a while. It's possible that it doesn't work on the latest win10 update. Have you tried on an older OS, just as a test?

Re: Need very basic starter for use of MadShell in Delphi

Posted: Wed Nov 15, 2017 7:07 am
by MrMajorThorburn
Normally would have a virtual Windows 7 available but my desktop died a while ago and I am still rebuilding it.
So answer is no have not.
Should be able to do that in a few days so will do that then.

Re: Need very basic starter for use of MadShell in Delphi

Posted: Thu Nov 23, 2017 6:05 pm
by MrMajorThorburn
Have setup a W7 x64 system and get the same results, all items get position -1,-1.

Re: Need very basic starter for use of MadShell in Delphi

Posted: Thu Nov 23, 2017 6:16 pm
by madshi
Hmmmm... It's been an eternity that I've looked into madShell. It seems it doesn't support 64bit compiling yet, so I suppose it's possible that it might have trouble on 64bit OSs. However, it did still work recently for me in win10 x64. I'll have a look at this when I find some time, but it might take a couple of days.

Re: Need very basic starter for use of MadShell in Delphi

Posted: Mon Dec 04, 2017 12:40 pm
by MrMajorThorburn
I'm sorry to have to ask but have you found time to look at this yet?
If not (I do understand you are busy) do you plan to do so soon?
I just need to know, whether or not, to continue holding my breath ;)

If there is anything I can do to help please let me know. (for example downloading the source and rebuilding it on w10 x64 and sorting out any code or compile errors).
I'm retired after over 40 years experience in IT support (tech, dev, user, system, service) so just need to know what tools I would need.

Re: Need very basic starter for use of MadShell in Delphi

Posted: Mon Dec 04, 2017 5:28 pm
by madshi
I'm sorry, but since this is a freeware project, it has low priority. It's on my to do list, but I can't say for sure when I'll get to it. Might be this week, or not.

Re: Need very basic starter for use of MadShell in Delphi

Posted: Mon Dec 11, 2017 4:49 pm
by MrMajorThorburn
Ok, Thanks. Looks like I go it alone then.
if I manage to be successful I will add some more to this in case it helps when you do have the time.