Dumb Question 
Author Message
 Dumb Question

What would be the definition of a "simple object"

Thanks



Mon, 27 Oct 2003 23:17:59 GMT  
 Dumb Question
In ATL Wizard terminology, it is a COM object that is not one of more
specialized objects the wizard can create. The Wizard generates the smallest
object that can be exposed from a COM server and that implements one
interface.
--
With best wishes,
    Igor Tandetnik


Quote:
> What would be the definition of a "simple object"

> Thanks



Mon, 27 Oct 2003 23:36:44 GMT  
 Dumb Question
Does it make a difference to what type of object it is ?  Meaning if it
exposes only one interface, what interface ? automation or custom.
or does it not matter


Quote:
> In ATL Wizard terminology, it is a COM object that is not one of more
> specialized objects the wizard can create. The Wizard generates the
smallest
> object that can be exposed from a COM server and that implements one
> interface.
> --
> With best wishes,
>     Igor Tandetnik



> > What would be the definition of a "simple object"

> > Thanks



Mon, 27 Oct 2003 23:48:22 GMT  
 Dumb Question
You have a choice. There's a set of two radio buttons to this effect on the
Wizard interface when you create "simple object". Yes, the object is still
"simple" whichever you choose. And BTW, it is not restricted to implementing
just one interface. The wizard sets it up with one interface, but you can
add more later.
--
With best wishes,
    Igor Tandetnik


Quote:
> Does it make a difference to what type of object it is ?  Meaning if it
> exposes only one interface, what interface ? automation or custom.
> or does it not matter



> > In ATL Wizard terminology, it is a COM object that is not one of more
> > specialized objects the wizard can create. The Wizard generates the
> smallest
> > object that can be exposed from a COM server and that implements one
> > interface.
> > --
> > With best wishes,
> >     Igor Tandetnik



> > > What would be the definition of a "simple object"

> > > Thanks



Tue, 28 Oct 2003 00:11:14 GMT  
 Dumb Question
In a more general view - this is any COM object.  You don't expect
the ATL wizard to write specific code for a specific class of objects,
but you can evolve it as you see fit. BTW, although the ATL wizard
creates an interface for you, you can simply delete this interface
from your IDL file and all references for it and produce an object
implementing only standard interfaces. Basically, this is your way
of telling ATL you want full control over the object's features.
And that's the most useful selection anyway (besides the ActiveX
Control wizards if you build controls of course).

--
=====================================
Alexander Nickolov
Microsoft MVP [VC], MCSD

MVP VC FAQ: http://www.mvps.org/vcfaq
=====================================


Quote:
> What would be the definition of a "simple object"

> Thanks



Tue, 28 Oct 2003 02:32:24 GMT  
 
 [ 5 post ] 

 Relevant Pages 

1. Dumb Question about showing results in a text box

2. Dumb question re: stack overflow

3. Dumb question?

4. Dumb Question

5. Novice with dumb question

6. Two dumb questions

7. Dumbest question

8. strtok dumb question: how can this be failing?

9. Dumb Question RE: Error Messages

10. Dumb question concerning malloc/free

11. dumb question

12. dumb question

 

 
Powered by phpBB® Forum Software