CodeGuru Forums -
CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic Newsletters VB Forums Developer.com


Newest CodeGuru.com Articles:

  • Binding Data to Silverlight 4.0 Controls Using ASP.NET MVC Framework 2.0
  • ADO.NET Data Services in the .NET Framework
  • Visual C++ Programming: What's new for MFC library in VC++ 2010?
  • Microsoft Visual Studio LightSwitch and What It Can Do For You

  • Search CodeGuru:
     



    Go Back   CodeGuru Forums > Visual C++ & C++ Programming > Visual C++ Programming
    FAQ Members List Calendar Search Today's Posts Mark Forums Read

    Visual C++ Programming Ask questions about Windows programming with Visual C++ and help others by answering their questions.

    Reply
     
    Thread Tools Search this Thread Rate Thread Display Modes
      #1    
    Old August 31st, 2009, 07:36 PM
    Hoang Hai Hoang Hai is offline
    Junior Member
     
    Join Date: Aug 2009
    Posts: 4
    Hoang Hai is an unknown quantity at this point (<10)
    Question Answer please, ishellfolder - new to c0m

    I'd like to use ishellfolder interface
    I have include shobjidbl.h but i sill get error at CLSID_ShellFolder in the createinstance

    What else should i include to use it ?

    Thanks
    Hoang Hai

    (where are my sons?if you seethemplease inform me as my far far far aunt's daughter is looking fora husband )
    Reply With Quote
      #2    
    Old August 31st, 2009, 08:39 PM
    Arjay's Avatar
    Arjay Arjay is online now
    Moderator / MS MVP
    Power Poster
     
    Join Date: Aug 2004
    Posts: 8,106
    Arjay has a reputation beyond repute (3000+)Arjay has a reputation beyond repute (3000+)Arjay has a reputation beyond repute (3000+)Arjay has a reputation beyond repute (3000+)Arjay has a reputation beyond repute (3000+)Arjay has a reputation beyond repute (3000+)Arjay has a reputation beyond repute (3000+)Arjay has a reputation beyond repute (3000+)Arjay has a reputation beyond repute (3000+)Arjay has a reputation beyond repute (3000+)Arjay has a reputation beyond repute (3000+)
    Re: Answer please, ishellfolder - new to c0m

    What HRESULT error are you getting from CreateInstance?
    Reply With Quote
      #3    
    Old August 31st, 2009, 09:00 PM
    Hoang Hai Hoang Hai is offline
    Junior Member
     
    Join Date: Aug 2009
    Posts: 4
    Hoang Hai is an unknown quantity at this point (<10)
    Re: Answer please, ishellfolder - new to c0m

    nooo, CLSID_ShellFolder is undefined
    Reply With Quote
      #4    
    Old August 31st, 2009, 09:22 PM
    Arjay's Avatar
    Arjay Arjay is online now
    Moderator / MS MVP
    Power Poster
     
    Join Date: Aug 2004
    Posts: 8,106
    Arjay has a reputation beyond repute (3000+)Arjay has a reputation beyond repute (3000+)Arjay has a reputation beyond repute (3000+)Arjay has a reputation beyond repute (3000+)Arjay has a reputation beyond repute (3000+)Arjay has a reputation beyond repute (3000+)Arjay has a reputation beyond repute (3000+)Arjay has a reputation beyond repute (3000+)Arjay has a reputation beyond repute (3000+)Arjay has a reputation beyond repute (3000+)Arjay has a reputation beyond repute (3000+)
    Re: Answer please, ishellfolder - new to c0m

    Use __uuidof( IShellFolder ) instead.
    Reply With Quote
    Reply

    Bookmarks
    Go Back   CodeGuru Forums > Visual C++ & C++ Programming > Visual C++ Programming


    Thread Tools Search this Thread
    Search this Thread:

    Advanced Search
    Display Modes Rate This Thread
    Rate This Thread:

    Posting Rules
    You may not post new threads
    You may not post replies
    You may not post attachments
    You may not edit your posts

    BB code is On
    Smilies are On
    [IMG] code is On
    HTML code is Off
    Forum Jump


    All times are GMT -5. The time now is 08:41 PM.



    Acceptable Use Policy

    Internet.com
    The Network for Technology Professionals

    Search:

    About Internet.com

    Legal Notices, Licensing, Permissions, Privacy Policy.
    Advertise | Newsletters | E-mail Offers


    Powered by vBulletin® Version 3.7.3
    Copyright ©2000 - 2010, Jelsoft Enterprises Ltd.