Click here to Skip to main content
15,922,512 members
Home / Discussions / System Admin
   

System Admin

 
GeneralMapViewOfFileEx Pin
jan larsen28-Jan-02 0:04
jan larsen28-Jan-02 0:04 
GeneralRe: MapViewOfFileEx Pin
Michael Dunn29-Jan-02 13:58
sitebuilderMichael Dunn29-Jan-02 13:58 
GeneralPrinter registry settings Pin
alex.barylski27-Jan-02 20:22
alex.barylski27-Jan-02 20:22 
GeneralMessed up registry Pin
27-Jan-02 15:39
suss27-Jan-02 15:39 
GeneralRe: Messed up registry Pin
27-Jan-02 18:48
suss27-Jan-02 18:48 
GeneralISAPI Extensions Pin
Eranr27-Jan-02 3:58
Eranr27-Jan-02 3:58 
GeneralRe: ISAPI Extensions Pin
Michael Dunn27-Jan-02 8:35
sitebuilderMichael Dunn27-Jan-02 8:35 
QuestionAny idea on how to enum ZIP files under XP ? Pin
yarp22-Jan-02 9:36
yarp22-Jan-02 9:36 
I've got a file explorer application - like Windows Explorer - and recently I discovered that ZIP files didn't show anymore in the file view under XP.
I've read at MSDN that people should now use IFolderView instead of IShellFolder but I just want my ZIP files back with a W95 to XP compatible solution.
As I don't have XP it is very difficult to test. Is there any shell guru there that can tell me what's wrong with my code so that in the end I can process ZIP files ?

hr = lpsfFolder->EnumObjects(NULL, SHCONTF_FOLDERS|SHCONTF_NONFOLDERS, &pItems);  
  while (hr == NOERROR) {    
    hr = pItems->Next(1, &pidlNext, NULL);    
    if (hr == NOERROR) {      
      lpsfFolder->GetAttributesOf(1, (LPCITEMIDLIST*)&pidlNext, &dwFileAttributes);      
      if (dwFileAttributes & SFGAO_FOLDER) {          
        //
        // Are ZIP files Folders under XP ?      
        //
      }      
      else {        
       lpsfFolder->GetDisplayNameOf(pidlNext, SHGDN_FORPARSING, &StrRetFile);        
       StrRetToStr(StrRetFile, &lpszFileName, pidlNext, lpMalloc);        
       //
       // The ZIP files never get there and that's were I used to trap 
       //them        
       ...      
     }   
     ...   
     // and so on


How do you call this new property of ZIP files to be processed as folders by Window ? I can't find any info anywhere but it seem pretty interesting - when they show
Thanks,

btw I moved this thread form the C++ forum to the OS forum


Yarp
QuestionHow to detect different Windows versions... Pin
Steve T18-Jan-02 10:38
Steve T18-Jan-02 10:38 
AnswerRe: How to detect different Windows versions... Pin
Jon Sagara18-Jan-02 11:20
Jon Sagara18-Jan-02 11:20 
GeneralRe: How to detect different Windows versions... Pin
Nish Nishant18-Jan-02 16:59
sitebuilderNish Nishant18-Jan-02 16:59 
GeneralRe: How to detect different Windows versions... Pin
Jon Sagara18-Jan-02 18:55
Jon Sagara18-Jan-02 18:55 
GeneralRe: How to detect different Windows versions... Pin
Nish Nishant18-Jan-02 19:00
sitebuilderNish Nishant18-Jan-02 19:00 
GeneralRe: How to detect different Windows versions... Pin
Jon Sagara18-Jan-02 21:20
Jon Sagara18-Jan-02 21:20 
GeneralRe: How to detect different Windows versions... Pin
Nish Nishant18-Jan-02 21:40
sitebuilderNish Nishant18-Jan-02 21:40 
AnswerRe: How to detect different Windows versions... Pin
Agus Kurniawan18-Jan-02 16:37
Agus Kurniawan18-Jan-02 16:37 
GeneralRe: How to detect different Windows versions... Pin
Steve T21-Jan-02 16:51
Steve T21-Jan-02 16:51 
GeneralRe: How to detect different Windows versions... Pin
Jon Sagara21-Jan-02 19:11
Jon Sagara21-Jan-02 19:11 
GeneralXP & Network shares Pin
Matt Newman18-Jan-02 8:32
Matt Newman18-Jan-02 8:32 
GeneralRe: XP & Network shares Pin
Richard Deeming20-May-02 5:53
mveRichard Deeming20-May-02 5:53 
GeneralRe: XP & Network shares Pin
Matt Newman20-May-02 16:51
Matt Newman20-May-02 16:51 
GeneralWindows MFC: Tall toolbar among short toolbars Pin
Phil Davidson17-Jan-02 11:09
Phil Davidson17-Jan-02 11:09 
Generalregistry printer settings Pin
alex.barylski15-Jan-02 8:59
alex.barylski15-Jan-02 8:59 
GeneralAdd/Remove Programs Pin
567890123414-Jan-02 20:41
567890123414-Jan-02 20:41 
GeneralRe: Add/Remove Programs Pin
Nish Nishant18-Jan-02 17:01
sitebuilderNish Nishant18-Jan-02 17:01 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.