Results 1 to 7 of 7

Thread: Does anyone know where I can find some info on this...?

  1. #1

    Thread Starter
    Lively Member
    Join Date
    Aug 2001
    Posts
    82

    Question Does anyone know where I can find some info on this...?

    Most of the stuff I see is for STL (Standard Template Lib.) but not for ATL... why is this? Every so often I will see a book for ATL (Active Template Lib.) but like I said, it is not very often.

    Anyone know where I can find some info on ATL?? Or have I done lost it and ATL does not exist?

    Thanks
    If you think I am wierd, then thats YOUR problem!

    -----------------------------------

    I keep snakes and lizards, wanna know more? PM me

  2. #2
    Frenzied Member
    Join Date
    Jul 2002
    Posts
    1,370
    Al Williams -- 'Windows 2000 System Programming' has a chapter (+one on ActiveX) on ATL. This is assuming you want to just get started.

    Tapidaya's 'COM+ Programming: A Practical Guide Using Visual C++ and ATL' is a very thorough, heavy duty text.


  3. #3
    PowerPoster abdul's Avatar
    Join Date
    Dec 2000
    Location
    Ontario,Canada
    Posts
    2,827
    "Inside ATL" is also a pretty good book. It talks about the basic structure of COM in first 2 chapters and then it moves on to ATL while still explaining all the COM specific junk.
    Baaaaaaaaah

  4. #4
    Fanatic Member MoMad's Avatar
    Join Date
    Oct 2000
    Location
    Seattle, WA
    Posts
    625
    BTW: STL and ATL are not the same nor are they related, desptite the post fix "Template Library"!

    STL is like a standard library full of template functions/classes/objects etc... and ATL is a subdivision of COM. Or something like that... but they are not in the same book even.
    :MoMad:
    Nice Sig!

    http://go.to/momad/ Status: Not Ready

  5. #5
    Kitten CornedBee's Avatar
    Join Date
    Aug 2001
    Location
    In a microchip!
    Posts
    11,594
    STL and ATL are related in what they are: both are collections of template classes that should make something easier.

    In case of STL it is i/o, data storage and organisation and lots of other things - it's the C++ equivalent of the CRT. It is standardized and portable. Don't hesitate to use it.
    Example: iostream, string, vector

    ATL is there to make ActiveX programming easier. It provides standard implementations for some COM interfaces and basically helps you with everything COM-related. It is written by MS, can be used only with VC++ (maybe Borland too), runs only on windows (because it is for COM, maybe it runs on WINE), and is generally only useful in specialized apps, while STL can be used in any app.
    Use ATL if you want to write ActiveX controls or such things, if you have VC++.
    All the buzzt
    CornedBee

    "Writing specifications is like writing a novel. Writing code is like writing poetry."
    - Anonymous, published by Raymond Chen

    Don't PM me with your problems, I scan most of the forums daily. If you do PM me, I will not answer your question.

  6. #6
    Frenzied Member Zaei's Avatar
    Join Date
    Jul 2002
    Location
    My own little world...
    Posts
    1,710
    The only problem I have with templates is that they are simply horrid to export from a DLL. Everytime I want to use a vector as a member of a class that gets exported, The compiler yells at me =(.

    Z.

  7. #7
    Monday Morning Lunatic parksie's Avatar
    Join Date
    Mar 2000
    Location
    Mashin' on the motorway
    Posts
    8,169
    Originally posted by Zaei
    The only problem I have with templates is that they are simply horrid to export from a DLL. Everytime I want to use a vector as a member of a class that gets exported, The compiler yells at me =(.

    Z.
    I think you need to wait until the export keyword gets supported properly for that.

    I never had any problems as long as I linked the DLL to the DLL runtime (not the static one).
    I refuse to tie my hands behind my back and hear somebody say "Bend Over, Boy, Because You Have It Coming To You".
    -- Linus Torvalds

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width