Simpler way of doing things in VC7 ATL? 
Author Message
 Simpler way of doing things in VC7 ATL?

I just started to move my COM+ code to VC7 and
have these simple questions (pls bear with me as I'm
learning many new things)

1. I want to pull all the CLSIDs of all classes
    in the project.  In VC6, I did it with
    WinAPI CLSIDFromProgID()
    Is there a simpler way in VC7 since all CLSIDs
    are right there in the class header file?
    I know that I could get the CLSID of the current
    object using GetObjectCLSID(), but I don't want
    to instantiate all other classes just to read their CLSIDs.

2. Also, I want to get the userid of the caller.  In VC6
    I had to resort to things like ISecurityProperty and
    complicated struct like PSID, etc.  Is there a simpler
    way in VC7?

Thanks,
Iwan



Thu, 05 Feb 2004 14:19:24 GMT  
 Simpler way of doing things in VC7 ATL?
Development Tools->.NET development is a better place for this kind of
questions.

yhhuang
ICQ:91074870



Sat, 07 Feb 2004 14:47:26 GMT  
 
 [ 2 post ] 

 Relevant Pages 

1. Difference between two different ways of doing things

2. Trouble doing simple things

3. ATL and doing things the wrong way

4. For those who like doing things backwards

5. Doing things with the printer !!!

6. doing graphical thing on the dos prompt

7. _open not doing the right thing

8. debugging things done vis nmake

9. Simple ways to Improve my UI

10. ASSERT doing strange things

11. Newbie doing dumb things with m_strFilter...please help

12. Unable to use ATL wizard in VC6 after using ATL wizard in VC7 dot net beta2

 

 
Powered by phpBB® Forum Software