Jump to content

CLSID "Shell.Application"(Solved)


JohnOne
 Share

Go to solution Solved by Ascend4nt,

Recommended Posts

Currently I'm getting CLSID as below...

CLSID clsid;
HRESULT CLSID_ShellApp = CLSIDFromProgID( OLESTR("Shell.Application"), &clsid);

My question is, is there a constant or an already defined value for such a CLSID within C++ VS2010 as there is for CLSID_InternetExplorer;?

I have searched and found nothing, but my search skills are not as wonderful as I'd like.

EDIT:

What I'm attempting to do is, instead of looping through all shell windows to interface with internet explorer, is have an already defined CLSID_xxx or IID_xxx of internet explorer.

EDIT2

Actually, that's just silly I think, it's a shell window and that's that, not given up on a defined CLSID though.

Edited by JohnOne

AutoIt Absolute Beginners    Require a serial    Pause Script    Video Tutorials by Morthawt   ipify 

Monkey's are, like, natures humans.

Link to comment
Share on other sites

I've seen that, but I cannot seen to interface with running instance with it, but only create a new instance.

I'm unsure of one I found Here http://csexwb2.googlecode.com/svn/trunk/General_Classes/Iid_Clsids.cs

Guid IID_TopLevelBrowser = new Guid("4C96BE40-915C-11CF-99D3-00AA004AE837");

AutoIt Absolute Beginners    Require a serial    Pause Script    Video Tutorials by Morthawt   ipify 

Monkey's are, like, natures humans.

Link to comment
Share on other sites

  • Solution

CLSID_Shell is declared as {13709620-C279-11CE-A49E-444553540000} in <Shldisp.h>.

You can use 'StringFromCLSID' or 'StringFromGUID2' to get the number.

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...