[Qt-interest] How to use coclassalias
Santhosh Y
santhosh at softjin.com
Tue Aug 3 10:52:50 CEST 2010
Hi,
I read CoClassAlias in qaxserver, when there is a namespace issue.
namespace YYY {
class A
{
//How to declare this as a CoClass
Q_CLASSINFO ("CoClassAlias", "YYY::A"); //*Please tell me is
this the correct way to do it
*};
}
// No namespace for class B
// This is the active x class.
class B {};
QAXFACTORY_BEGIN("{740BCD44-3F69-4287-A7C5-369BC7966530}",
"{ED4E37DD-BD72-4cb4-A148-AF2FEFA7B9E2}")
QAXCLASS(B)
QAXTYPE(YYY::A) *// It is not writing properly in to IDL file*; *Is
it needed if I write CoClassAlias in the YYY::A*
QAXFACTORY_END()
--
----------------------------------------------------
Y Santhosh Kumar -
Senior Software Engineer,
SoftJin Technologies Pvt Ltd,
www.softjin.com
----------------------------------------------------
Business Disclaimer
____________________________________________________________
This e-mail message and any files transmitted with it are intended solely
for the use of the individual or entity to which they are addressed. It
may contain confidential, proprietary or legally privileged information.
If you are not the intended recipient please be advised that you have
received this message in error and any use is strictly prohibited. Please
immediately delete it and all copies of it from your system, destroy any
hard copies of it and notify the sender by return mail. You must not,
directly or indirectly, use, disclose, distribute, print, or copy any part of
this message if you are not the intended recipient.
___________________________________________________________
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.qt-project.org/pipermail/qt-interest-old/attachments/20100803/fad71d31/attachment.html
More information about the Qt-interest-old
mailing list