[prev in list] [next in list] [prev in thread] [next in thread]
List: ms-dcom
Subject: Re: Need help :Calling OLE COntainer in the constructer of class
From: Zlatko Michailov <michailov () AUSTIN ! APC ! SLB ! COM>
Date: 2001-02-28 15:35:25
[Download RAW message or body]
There is a problem calling own pure virtual methods from a constructor. The most \
common example is a COM object whose constructor calls one or more of its interface \
methods.
Zlatko
----- Original Message -----
From: Paul Blesson
To: DCOM@DISCUSS.MICROSOFT.COM
Sent: Tuesday, February 27, 2001 11:36 PM
Subject: Need help :Calling OLE COntainer in the constructer of class object
Hi all
I am resenting the message since
noone replied to the message. I you know anything
about thhe problem below , do reply
I have a COM object. I want to initiate
an instance of an OLE Container in the contructer of
the class object. I am doing this because, I want
only
one instance of that OLE Container in the whole
process. So I want to know Is there any problem
in calling a OLE Contaniner in the contructer of the
class object. I am getting runtime error when Im try
to intiate the OLE container in the constructer of
the
class object. Otherwise , if I intiate the OLE
COntainer in the class defintion , there is no
problem. I want to know also wheather any methods by
which , we can restrict the number
of OLE COntainer objects in the above case to one.
Thanks in advance
by
BLesson Paul
__________________________________________________
Do You Yahoo!?
Get email at your own domain with Yahoo! Mail.
http://personal.mail.yahoo.com/
----------------------------------------------------------------
Users Guide http://msdn.microsoft.com/workshop/essentials/mail.asp
contains important info. Save time, search the archives at
http://discuss.microsoft.com/archives/index.html .
To unsubscribe, mailto:DCOM-signoff-request@DISCUSS.MICROSOFT.COM
----------------------------------------------------------------
Users Guide http://msdn.microsoft.com/workshop/essentials/mail.asp
contains important info. Save time, search the archives at
http://discuss.microsoft.com/archives/index.html .
To unsubscribe, mailto:DCOM-signoff-request@DISCUSS.MICROSOFT.COM
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic