Hi,
thank you for so many details,..
yes, apparently, the main problem was that my classes inherited from IDispatch and for this reason, the COM object were badly initialized. I built a new test project and i changed this: i put "custom" instead of "dual".
But i still have...
Hi,
I didn t understand very well your answer.
I mean, if you use the ATL classes with Visual C++, when you insert a new ATL object, there are automatily 2 files created, for example A.h and A.cpp and the idl file now belong some lines of code which say that the interface of A inherits of...
To answer your question, I am developping the numeric part of a big project, which respects the CAPE OPEN norm. This norm let me few liberty and I MUST develop a Matrix Class with such an inheritance :o)
Thank you for your help, I will follow investigating :o)
Hi,
well, thanks you...
I ve tried to make B inherit from A with the "classical method", i mean in the idl file, we have iA:iDispatch (iA inherits from iDispatch) and iB:iDispatch (making iB inherit from iA but the result was that i just had an inheritance between iB and iA and for...
Hi,
I developed a Matrix class and I would like to save an object of this type in a VARIANT.
//myMatrix is an Matrix object
Matrix myMatrix;
//what i wanna do is:
VARIANT myVariant;
myVariant.???=myMatrix;
By what must i replace "???", in which field of myVariant will be save...
hi,
thanks for the answer. Yes, i am developping a COM-object, using ATL...
and my problem is about the inheritance i explained...
do you know more about it?
Hi,
I am trying to develop a dll with visual c++. This dll provides 2 classes, A and B (and their interfaces iA and iB).
I want that B inherits of A (the full class, not only the interface).
How should i do?
Thanks
Moiss
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.