Jump to content

Stacks Docklet 2.0


Recommended Posts

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!

Link to post
  • Replies 525
  • Created
  • Last Reply

Top Posters In This Topic

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).

Link to post

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).

Link to post

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

Link to post

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.

Link to post
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()

Edited by SaRRaZin
Link to post

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?

Link to post

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. :)

Link to post

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.

Link to post

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.

Link to post
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)

Link to post

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now

×
×
  • Create New...