Jump to content
Sign in to follow this  
JohnOne

CLSID "Shell.Application"(Solved)

Recommended Posts

JohnOne

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.

Share this post


Link to post
Share on other sites
Richard Robertson

It would be worth checking the file where CLSID_InternetExplorer is defined.

Share this post


Link to post
Share on other sites
JohnOne

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.

Share this post


Link to post
Share on other sites
Richard Robertson

I'm not entirely familiar with what Shell.Application has to offer. What functionality are you looking for with this knowable Guid?

Share this post


Link to post
Share on other sites
Ascend4nt

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

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

  • Like 1

Share this post


Link to post
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
Sign in to follow this  

×