Rename desktop icon with C

Материал из Wiki Test Lab
Перейти к: навигация, поиск

Назад    Главная
 

Rename desktop icon with C#.

Question

Hello. I need to rename desktop icons (files or folders). I understand that it can be done by sending LVM_SETITEMTEXT message to desktop listview but my current code often gives "Attempted to read or write protected memory. This is often an indication that other memory is corrupt." and doesn't perform renaming. I not very experienced in PInvoke and marshaling so it may have some serious errors:

Читать дальше...

Личные инструменты