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

TeeChart for ActiveX, COM and ASP
Post Reply
jorn
Newbie
Newbie
Posts: 2
Joined: Fri Nov 15, 2002 12:00 am
Location: Norway

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

Post by jorn » Mon Jun 14, 2004 8:05 am

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.

Christopher
Site Admin
Site Admin
Posts: 1349
Joined: Thu Jan 01, 1970 12:00 am
Location: Riudellots de la Selva, Catalonia
Contact:

Post by Christopher » Mon Jun 14, 2004 4:00 pm

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.
Thank you!

Christopher Ireland (Steema crew)
Please be aware of the newsgroup archives:
http://www.teechart.net/support/search.php
http://groups.google.com
http://codenewsfast.com/

Post Reply