MMC icons disapear

  • Thread starter Thread starter Yuri
  • Start date Start date
Y

Yuri

Hi,
while testing my MMC snap-in in Windows Vista RTM (MMC 3.0 Built 6.0.0) I
recognized that all my scope and result view icons are gone or display like
folder or text icon. ImageListSetStrip return 0x8000FFFF (E_UNEXPECTED).
Bitmap is correct. Snapin works fine with (MMC 3.0 Built 5.2).
Please help to complete releasing our products. Thanks.

Yuri
 
Yuri

Try running SFC. Use an admin elevated run box or cmd prompt and type in
sfc /scannow.

Try a system restore point to before this happened.

If those don't work slip in the DVD and try to run a startup repair.

CH
 
We found reason of this behaviour. Our image list was very big (more 13000
pixels). We split one big image to multiple bitmaps(1600 pixel width for 32
pixel height) and use nStartLoc(ImageListSetStrip) for next index in bitmap
position.
Be careful CopyImage also dosen't work with big bitmaps.
 
Back
Top