OK, new post.. Does anyone know how to use SHGetFileInfo?

S

SStory

Posted before and got a response but still have the program blowing up.

Anyone know how to get the icon associated with a file extension and not
blow up the program.

I want to pass .EXE or whatever and get the icon, then add to a imagelist to
display in a listview or treeview control.

Everything I have tried so far intermittently blows up with StackOverflow or
ExecutionEngine exceptions.

I don't know what else to do.

Please help,

Thanks,

Shane
 

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