flat assembler
Message board for the users of flat assembler.
Index
> Windows > SHBrowseForFolder usage |
Author |
|
shoorick 30 Apr 2005, 00:38
maybe this will help
_________________ UNICODE forever! |
|||||||||||
30 Apr 2005, 00:38 |
|
coconut 30 Apr 2005, 00:45
preserving registers properly?
|
|||
30 Apr 2005, 00:45 |
|
shoorick 30 Apr 2005, 02:36
this even better:
Code: invoke CoInitialize,0 invoke SHBrowseForFolder,ebx test eax,eax jz @F push eax invoke SHGetPathFromIDList,eax,edi invoke CoTaskMemFree invoke SetDlgItemText,[hDlg],E_UPPER,edi @@: |
|||
30 Apr 2005, 02:36 |
|
zhak 30 Apr 2005, 09:52
Thanks a lot, shoorick
It was crushing because of INT3, but I cannot understand why, because this interrupt was set in the other message handling routine (EN_UPDATE). And SHBrowseForFolder is called from BN_CLICKED section. Hmm... Maybe it is Olly's bug? SoftICE don't recognize this error. I'll test the circumstances better to find out what is wrong... |
|||
30 Apr 2005, 09:52 |
|
shoorick 30 Apr 2005, 12:54
you should use int3 instead of int 3 to debug your code...
i use this simple macro: Code: macro deb { push eax invoke IsDebuggerPresent test eax,eax pop eax jz .nodeb int3 .nodeb: } |
|||
30 Apr 2005, 12:54 |
|
< Last Thread | Next Thread > |
Forum Rules:
|
Copyright © 1999-2024, Tomasz Grysztar. Also on GitHub, YouTube.
Website powered by rwasa.