Need very basic starter for use of MadShell in Delphi

delphi package - easy access to shell apis

Need very basic starter for use of MadShell in Delphi

Postby MrMajorThorburn » Wed Nov 08, 2017 4:30 pm

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.
MrMajorThorburn
 
Posts: 7
Joined: Wed Nov 08, 2017 3:58 pm

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

Postby madshi » Thu Nov 09, 2017 1:42 pm

There's a demo project in the madShell\Demos folder which deals with desktop icon names.
madshi
Site Admin
 
Posts: 9473
Joined: Sun Mar 21, 2004 5:25 pm

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

Postby MrMajorThorburn » Thu Nov 09, 2017 5:37 pm

Thanks you very much.
That was what I wanted.
Can get my grey matter churning now.
MrMajorThorburn
 
Posts: 7
Joined: Wed Nov 08, 2017 3:58 pm

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

Postby MrMajorThorburn » Tue Nov 14, 2017 11:30 am

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?
MrMajorThorburn
 
Posts: 7
Joined: Wed Nov 08, 2017 3:58 pm

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

Postby madshi » Tue Nov 14, 2017 11:59 am

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?
madshi
Site Admin
 
Posts: 9473
Joined: Sun Mar 21, 2004 5:25 pm

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

Postby MrMajorThorburn » Wed Nov 15, 2017 7:07 am

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.
MrMajorThorburn
 
Posts: 7
Joined: Wed Nov 08, 2017 3:58 pm

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

Postby MrMajorThorburn » Thu Nov 23, 2017 6:05 pm

Have setup a W7 x64 system and get the same results, all items get position -1,-1.
MrMajorThorburn
 
Posts: 7
Joined: Wed Nov 08, 2017 3:58 pm

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

Postby madshi » Thu Nov 23, 2017 6:16 pm

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.
madshi
Site Admin
 
Posts: 9473
Joined: Sun Mar 21, 2004 5:25 pm

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

Postby MrMajorThorburn » Mon Dec 04, 2017 12:40 pm

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.
MrMajorThorburn
 
Posts: 7
Joined: Wed Nov 08, 2017 3:58 pm

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

Postby madshi » Mon Dec 04, 2017 5:28 pm

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.
madshi
Site Admin
 
Posts: 9473
Joined: Sun Mar 21, 2004 5:25 pm

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

Postby MrMajorThorburn » Mon Dec 11, 2017 4:49 pm

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.
MrMajorThorburn
 
Posts: 7
Joined: Wed Nov 08, 2017 3:58 pm


Return to madShell

Who is online

Users browsing this forum: No registered users and 2 guests