Stacks Docklet 2.0

Matonga,

Here's mine:

[2009-03-26 22:49:28] LOG STARTED

[2009-03-26 22:49:28] > LoadBitmaps()

[2009-03-26 22:49:28] load "C:\Program Files\Stardock\ObjectDock\Docklets\StackDocklet2.0\Stack.png"

[2009-03-26 22:49:28] make stack.png reflective (fix this, per stack setting... maybe)

[2009-03-26 22:49:28] load "C:\Program Files\Stardock\ObjectDock\Docklets\StackDocklet2.0\Open.png"

[2009-03-26 22:49:28] < LoadBitmaps()

[2009-03-26 22:49:28] [hwndDocklet=788752] > OnCreate ()

[2009-03-26 22:49:28] [hwndDocklet=788752] szIni = szIniGroup = "" -> default settings

[2009-03-26 22:49:28] [hwndDocklet=788752] - create shell folder for "My Computer"

[2009-03-26 22:49:28] [hwndDocklet=788752] - setup default values

[2009-03-26 22:49:28] [hwndDocklet=788752] - settings ready

[2009-03-26 22:49:28] [hwndDocklet=788752] - fill provider items

[2009-03-26 22:49:28] > FillProviderItems ()

[2009-03-26 22:49:28] folder.Count = 8

[2009-03-26 22:49:28] show_open_folder = 0xFFFFFFFF

[2009-03-26 22:49:28] provider.items = malloc(...)

[2009-03-26 22:49:28] for loop #0

[2009-03-26 22:49:28] - get name

[2009-03-26 22:49:28] text <- "Floppy Disk Drive (A:)"

[2009-03-26 22:49:28] - get icon

Hope this helps!

#525740

Of course it helps. Thanks!

I'll take a look into icon extraction routine and add more verbose logging there for next bug-hunting.

BTW what windows version are you using? XP or Vista / 7? is it the 32 or 64 bits windows version? do you have any icon customization installed? (just trying to guess the problem before adding more logging stuff).

#525742

ObjectDock 1.90 build 536 doesn't have any problem adding the stack docklet 2.0, but when I am trying to change folder it crashes totaly. It doesn't work after reboot either. Help?

#525743

I tried new one and i can change folder and even icon without problem :)

But icons are still very BIG :wacko:

wYltmMGk4j.png

#525748

using windows xp sp3... and I neeeed heellp! anybody? btw matonga when is the final version coming?

#525750

btw matonga when is the final version coming?

Who knows. This freebie has a schedule of it's own. :P

I hope really probable before ending this year. :)

#525755

looks really good on youtube already, your tha man matonga :D

#525758

I am using Both Windows Vista and Windows 7 (32 bits the earlier and 64 bits the later), I do have IconPackager Installed on both systems. The problem is the same on both systems, as soon as I add the docklet OD+ crashes.

Of course it helps. Thanks!

I'll take a look into icon extraction routine and add more verbose logging there for next bug-hunting.

BTW what windows version are you using? XP or Vista / 7? is it the 32 or 64 bits windows version? do you have any icon customization installed? (just trying to guess the problem before adding more logging stuff).

#525778

hello Matonga, here is my report. The reflexion effect is good idea.

[2009-03-28 13:09:46] LOG STARTED

[2009-03-28 13:09:46] > LoadBitmaps()

[2009-03-28 13:09:46] load "D:\Archive\Programmes\ObjectDock\Docklets\StackDocklet2.0\Stack.png"

[2009-03-28 13:09:46] make stack.png reflective (fix this, per stack setting... maybe)

[2009-03-28 13:09:46] load "D:\Archive\Programmes\ObjectDock\Docklets\StackDocklet2.0\Open.png"

[2009-03-28 13:09:46] < LoadBitmaps()

[2009-03-28 13:09:46] [hwndDocklet=1312480] > OnCreate ()

[2009-03-28 13:09:46] [hwndDocklet=1312480] szIni = "C:\Users\xxxx\AppData\Local\Stardock\ObjectDockPlus\CurrentTheme.ini", szIniGroup = "Item(1-9)" -> load settings from .ini

[2009-03-28 13:09:46] [hwndDocklet=1312480] - create shell folder for <user specified folder>

[2009-03-28 13:09:46] [hwndDocklet=1312480] - setup stored values

[2009-03-28 13:09:46] [hwndDocklet=1312480] -- load icon "D:\Archive\Custome\Icones\Box\STACKS-nemone\stacks temp.png"

[2009-03-28 13:09:46] [hwndDocklet=1312480] -- load icon done

[2009-03-28 13:09:46] [hwndDocklet=1312480] - fill provider items

[2009-03-28 13:09:46] > FillProviderItems ()

[2009-03-28 13:09:46] folder.Count = 11

[2009-03-28 13:09:46] show_open_folder = 0xFFFFFFFF

[2009-03-28 13:09:46] provider.items = malloc(...)

[2009-03-28 13:09:46] for loop #0

[2009-03-28 13:09:46] - get name

[2009-03-28 13:09:46] text <- "AAF"

[2009-03-28 13:09:46] - get icon

[2009-03-28 13:09:46] - done

[2009-03-28 13:09:46] for loop #1

[2009-03-28 13:09:46] - get name

[2009-03-28 13:09:46] text <- "AT"

[2009-03-28 13:09:46] - get icon

#525790

New bug-hunting version:

2009-03-28

Please note these versions are not in the first post, because they are just the same but produce a very big log to help me understand why is it crashing.

The reason for the crashes seems to be because of the way I get icons for stack items. So this version produces a more detailed log for that part.

#525791

New bug-hunting version:

2009-03-28

Please note these versions are not in the first post, because they are just the same but produce a very big log to help me understand why is it crashing.

The reason for the crashes seems to be because of the way I get icons for stack items. So this version produces a more detailed log for that part.

new repport:

[2009-03-28 14:21:44] LOG STARTED

[2009-03-28 14:21:44] > LoadBitmaps()

[2009-03-28 14:21:44] load "D:\Archive\Programmes\ObjectDock\Docklets\StackDocklet2.0\Stack.png"

[2009-03-28 14:21:44] make stack.png reflective (fix this, per stack setting... maybe)

[2009-03-28 14:21:44] load "D:\Archive\Programmes\ObjectDock\Docklets\StackDocklet2.0\Open.png"

[2009-03-28 14:21:44] < LoadBitmaps()

[2009-03-28 14:21:44] [hwndDocklet=722294] > OnCreate ()

[2009-03-28 14:21:44] [hwndDocklet=722294] szIni = "C:\Users\xxxx\AppData\Local\Stardock\ObjectDockPlus\CurrentTheme.ini", szIniGroup = "Item(1-6)" -> load settings from .ini

[2009-03-28 14:21:44] [hwndDocklet=722294] - create shell folder for <user specified folder>

[2009-03-28 14:21:44] [hwndDocklet=722294] - setup stored values

[2009-03-28 14:21:44] [hwndDocklet=722294] -- load icon "D:\Archive\Custome\Icones\Box\Box (Stack) Complete Set\Black\Box black Utilities.png"

[2009-03-28 14:21:44] [hwndDocklet=722294] -- load icon done

[2009-03-28 14:21:44] [hwndDocklet=722294] - fill provider items

[2009-03-28 14:21:44] > FillProviderItems ()

[2009-03-28 14:21:44] folder.Count = 11

[2009-03-28 14:21:44] show_open_folder = 0xFFFFFFFF

[2009-03-28 14:21:44] provider.items = malloc(...)

[2009-03-28 14:21:44] for loop #0

[2009-03-28 14:21:44] - get name

[2009-03-28 14:21:44] text <- "AAF"

[2009-03-28 14:21:44] - get icon

[2009-03-28 14:21:44] > getIcon()

[2009-03-28 14:21:44] >- filename = D:\Archive\Photoshop\ANP\AAF

[2009-03-28 14:21:44] >- IShellFolder::GetUIObjectOf (..., IID_IEXTRACTICON, ...)...

[2009-03-28 14:21:44] >- ...done

[2009-03-28 14:21:44] >- IExtractIcon instance is valid, proceed.

[2009-03-28 14:21:44] >- IExtractIcon::GetIconLocation (...)...

[2009-03-28 14:21:44] >- ...done

[2009-03-28 14:21:44] >- szIconFile = "D:\Archive\Custome\Icones\ANP\Ico\folder-aaf_MKA dessus.ico", index=0, flags=0x00000002

[2009-03-28 14:21:44] >- szIconFile = "D:\Archive\Custome\Icones\ANP\Ico\folder-aaf_MKA dessus.ico" (env.expanded)

[2009-03-28 14:21:44] >- Find icon in cache...

[2009-03-28 14:21:44] >- ...icon not found

[2009-03-28 14:21:44] >- Try to load icon bytes...

[2009-03-28 14:21:44] >- ...is an icon file...

[2009-03-28 14:21:44] >- ...done (success)

[2009-03-28 14:21:44] >- CoTaskMemFree... (filename)

[2009-03-28 14:21:44] >- ...done

[2009-03-28 14:21:44] < getIcon()

[2009-03-28 14:21:44] > getIcon()

[2009-03-28 14:21:44] < getIcon()

[2009-03-28 14:21:44] - done

[2009-03-28 14:21:44] for loop #1

[2009-03-28 14:21:44] - get name

[2009-03-28 14:21:44] text <- "AT"

[2009-03-28 14:21:44] - get icon

[2009-03-28 14:21:44] > getIcon()

[2009-03-28 14:21:44] >- filename = D:\Archive\Photoshop\ANP\AT

[2009-03-28 14:21:44] >- IShellFolder::GetUIObjectOf (..., IID_IEXTRACTICON, ...)...

[2009-03-28 14:21:44] >- ...done

[2009-03-28 14:21:44] >- IExtractIcon instance is valid, proceed.

[2009-03-28 14:21:44] >- IExtractIcon::GetIconLocation (...)...

[2009-03-28 14:21:44] >- ...done

[2009-03-28 14:21:44] >- szIconFile = "D:\Archive\Custome\Icones\ANP\folder_AT-2.ico", index=0, flags=0x00000002

[2009-03-28 14:21:44] >- szIconFile = "D:\Archive\Custome\Icones\ANP\folder_AT-2.ico" (env.expanded)

[2009-03-28 14:21:44] >- Find icon in cache...

[2009-03-28 14:21:44] >- ...icon not found

[2009-03-28 14:21:44] >- Try to load icon bytes...

[2009-03-28 14:21:44] >- ...is an icon file...

[2009-03-28 14:21:44] >- ...done (success)

[2009-03-28 14:21:44] >- CoTaskMemFree... (filename)

[2009-03-28 14:21:44] >- ...done

[2009-03-28 14:21:44] < getIcon()

[2009-03-28 14:21:44] > getIcon()

[2009-03-28 14:21:44] < getIcon()

#525792

More bug-hunting:

2009-03-28-b

@SaRRaZin:

Shall you PM me a copy of these icons?:

D:\Archive\Custome\Icones\ANP\Ico\folder-aaf_MKA dessus.ico

D:\Archive\Custome\Icones\ANP\folder_AT-2.ico

I want to see if I can reproduce the crash here.

#525794

check your PM I have sent to you the icons.

#525797

Last one work fine :)

Log

rtwlV4tjlp.jpg

#525798

The stacks work fine when I tell it to show ex: "My Pictures" but when I tell it to show ex: "Downloads" it totally crashes... anybody knows why? same problem on ObjectDock and RocketDock... help, please? :P

#525802

I am running Windows Vista Home Premium SP1 32 bit, Object Dock Plus 1.90 Build 535u and the dock crashes whenever I try to add a Stack Docklet 2.0. Here's what the log shows:

[2009-03-28 17:58:03] LOG STARTED

[2009-03-28 17:58:03] > LoadBitmaps()

[2009-03-28 17:58:03] load "C:\Program Files\Stardock\ObjectDock\Docklets\StackDocklet2.0\Stack.png"

[2009-03-28 17:58:03] make stack.png reflective (fix this, per stack setting... maybe)

[2009-03-28 17:58:03] load "C:\Program Files\Stardock\ObjectDock\Docklets\StackDocklet2.0\Open.png"

[2009-03-28 17:58:03] < LoadBitmaps()

[2009-03-28 17:58:03] [hwndDocklet=2098732] > OnCreate ()

[2009-03-28 17:58:03] [hwndDocklet=2098732] szIni = szIniGroup = "" -> default settings

[2009-03-28 17:58:03] [hwndDocklet=2098732] - create shell folder for "My Computer"

[2009-03-28 17:58:03] [hwndDocklet=2098732] - setup default values

[2009-03-28 17:58:03] [hwndDocklet=2098732] - settings ready

[2009-03-28 17:58:03] [hwndDocklet=2098732] - fill provider items

[2009-03-28 17:58:03] > FillProviderItems ()

[2009-03-28 17:58:03] folder.Count = 4

[2009-03-28 17:58:03] show_open_folder = 0xFFFFFFFF

[2009-03-28 17:58:03] provider.items = malloc(...)

[2009-03-28 17:58:03] for loop #0

[2009-03-28 17:58:03] - get name

[2009-03-28 17:58:03] text <- "Vista OS (C:)"

[2009-03-28 17:58:03] - get icon

[2009-03-28 17:58:03] > getIcon()

[2009-03-28 17:58:03] >- filename = C:\

[2009-03-28 17:58:03] >- IShellFolder::GetUIObjectOf (..., IID_IEXTRACTICON, ...)...

[2009-03-28 17:58:03] >- ...done

[2009-03-28 17:58:03] >- IExtractIcon instance is valid, proceed.

[2009-03-28 17:58:03] >- IExtractIcon::GetIconLocation (...)...

[2009-03-28 17:58:03] >- ...done

[2009-03-28 17:58:03] >- szIconFile = "C:\Windows\system32\imageres.dll", index=-36, flags=0x00000004

[2009-03-28 17:58:03] >- szIconFile = "C:\Windows\system32\imageres.dll" (env.expanded)

[2009-03-28 17:58:03] >- Find icon in cache...

[2009-03-28 17:58:03] >- ...icon not found

[2009-03-28 17:58:03] >- Try to load icon bytes...

[2009-03-28 17:58:03] >- ...is an exe/dll icon with ID=36...

Is the problem related to custom icons?

#525803

Windows Vista, ObjectDock 1.9 B536

Crash occurs when trying to add the docklet onto the dock.

StackDocklet.txt

Attachment: StackDocklet.txt

#525809

One of the big issues resulting in crashes seems to be SD2 failing to extract icons. I can't use SD1's technique because it would give very poor low resolution icons. This new technique even reads Vista 512x512 "png" icons under Windows 2k (untested, but in theory it should work).

@FalseRemorse:

Can you send me a copy of your C:\Windows\system32\imageres.dll?

@FishStik:

Can you send me a copy of your C:\Windows\system32\imageres.dll?

@FalseRemorse, FishStik:

I mean each one of you to send me the file mentioned above. :)

#525811

This last versions worked fine under Windows 7 (64 bits), I am including a snapshot with both StacksDoclet1 (on the right) and StacksDocklet2 (on the left) for reference. I will test on Windows Vista later.

post-79521-1238296043_thumb.jpg

stacksdocklet1_2..jpg
stacksdocklet1_2..jpg

#525817

Matonga, I had a try at the "log" version and it runs OK as the normal one in my case. The reflection is nice but it doesn't look good on my vertically placed (left side) Rocketdock. I switched back to the previous version since I cannot switch it off and anyway logging would produce a huge file in a short time.

#525823

@Smaky: What type of dock do you use?

#525825

This is really crazy:

I was unable to create a shortcut with either icon ID 28 or 35 (or anything else above 7) for imageres.dll, this happening under Windows XP.

I'll try Windows 7 later.

Anyway here are some fixes with icon bug, maybe it works now:

2009-03-29 for bug-hunting

(still writes a log file)

BTW anyone who didn't have problems with versions without logs, and now have problems with these new versions, under Windows Vista or Windows 7, you need to tweak your folder access rights giving full access to your user (or right click RocketDock.exe and run it with administrador priviledges, even if you have an account with administrator rights). You know you're having this problem if Stacks Docklet doesn't create a log file at all.

#525830

I followed your recommendations but it does not work. and when objectdock start he run the cpu at 50%: http://dl.free.fr/vVMjWOAYl

#525834

I followed your recommendations but it does not work. and when objectdock start he run the cpu at 50%: http://dl.free.fr/vVMjWOAYl

It is normal for the cpu to scale to 100% on startup (50% in 2-core processors, 25% in quad-core, etc...).

However in your case, as many others, SD2 crashes while extracting icon.

Please try this version: (I need to know exact point of crash)

http://www.matiasmoreno.com.ar/StackDocklet.dll (overwrite old dll)

#525836