hi guys
         
why can't return my document folder?
in my computer folder

         
              mov Flags, SHCONTF_FOLDERS or SHCONTF_NONFOLDERS or SHCONTF_INCLUDEHIDDEN             
              lea eax,EnumList
              push eax
              push Flags
              push hWnd   
              mov eax,ShellFolder
              push eax
              mov edx,
              call DWORD PTR   ;; EnumObjects

              mov eax,ShellFolder
              mov FIShellFolder,eax

                         
loop@:
           
              lea eax,NumIDs
              push eax
              lea eax,ID1
              push eax
              push 1
              mov eax,EnumList
              push eax
              mov edx,
              call DWORD PTR   ;; Next         
Posted on 2005-08-04 00:49:52 by playh
If you need the path to "My Documents" why not use:

invoke SHGetFolderPath,hWnd, CSIDL_PERSONAL,NULL,0,offset Buffer
Posted on 2005-08-04 11:17:27 by JimmyClif