MMC icons disapear

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
 
C

Chad Harris

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
 
Y

Yuri

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.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top