Need very basic starter for use of MadShell in Delphi
-
- Posts: 7
- Joined: Wed Nov 08, 2017 3:58 pm
Need very basic starter for use of MadShell in Delphi
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.
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
There's a demo project in the madShell\Demos folder which deals with desktop icon names.
-
- Posts: 7
- Joined: Wed Nov 08, 2017 3:58 pm
Re: Need very basic starter for use of MadShell in Delphi
Thanks you very much.
That was what I wanted.
Can get my grey matter churning now.
That was what I wanted.
Can get my grey matter churning now.
-
- Posts: 7
- Joined: Wed Nov 08, 2017 3:58 pm
Re: Need very basic starter for use of MadShell in Delphi
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?
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
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?
-
- Posts: 7
- Joined: Wed Nov 08, 2017 3:58 pm
Re: Need very basic starter for use of MadShell in Delphi
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.
So answer is no have not.
Should be able to do that in a few days so will do that then.
-
- Posts: 7
- Joined: Wed Nov 08, 2017 3:58 pm
Re: Need very basic starter for use of MadShell in Delphi
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
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.
-
- Posts: 7
- Joined: Wed Nov 08, 2017 3:58 pm
Re: Need very basic starter for use of MadShell in Delphi
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![wink ;)](./images/smilies/icon_wink.gif)
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.
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
![wink ;)](./images/smilies/icon_wink.gif)
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
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.
-
- Posts: 7
- Joined: Wed Nov 08, 2017 3:58 pm
Re: Need very basic starter for use of MadShell in Delphi
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.
if I manage to be successful I will add some more to this in case it helps when you do have the time.