Page 1 of 1

TC6 in VC++ 7.1 as an AxtiveX, automaitc generated header

Posted: Mon Jun 14, 2004 8:05 am
by 6928272
Hello, I am using an evaluation version on v6 of the .ocx and I have a problem with the automatic generated header files.

In the generated file CTChart.h I get:
LPDISPATCH get_aSeries(long SeriesIndex)
{
LPDISPATCH result;
static BYTE parms[] = VTS_I4 ;
InvokeHelper(0x14, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result,
parms, SeriesIndex);
return result;
}

How do I know which class pointer that is returned ?
Is the .h file generated correctly ?

It would be nice if a class was returned as in the VC++ examples.

Posted: Mon Jun 14, 2004 4:00 pm
by Chris
Hi ..
How do I know which class pointer that is returned ?
Is the .h file generated correctly ?
No, I don't think it is.

Try creating a TeeChart AX v6 project in MS VC++ v6 and then updating it to MS VC++ 7.1; the header file should now be correct.