hi all
i have two question...
first question :
when i used the active x in visual c++ 6 - in each new project the IDE asked me to "extract" the classes from the object to my project.
now, with vs2005, it's not happend. instead of the extraction, i got a class named as my control id. the class has the TChart functions, but it return LDISPATCH instead of class.
i get over this problem by inserting by myself the classes (from the ProgramsFiles\Tchart...\utilities\new vc classes) to my project and changing the type of the member.
it works - but, there is a better way ?
second question:
I'm trying to create a COM object with a dialog in it.
on the dialog i put the AX.
when calling to the function that create and show the dlg, i see that the dialog is not created ( it's hWnd = NULL )
when i remove the TChart object from the dialog, it does create .
how can i resolve this problem ?
i'm using version 5.0.6.0
thanks !!!!
AX and vs 2005
Hi,
Not, that I know of. Another way would be to open the vc6 project with vc Net and convert it automatically.it works - but, there is a better way ?
It's difficult to know where the problem is without seeing the code. Could you please send me a simple example with which I can reproduce the problem here ? You can send me it directly to pep@steema.comwhen i remove the TChart object from the dialog, it does create .
how can i resolve this problem ?
Pep Jorge
http://support.steema.com
http://support.steema.com