User (Legacy) Posted October 17, 2005 Author Report Share Posted October 17, 2005 Hi there, I am currently evaluating ChartFX 6.2 ( we currently use clientserver 5.5 ) and was wonder about the compatibility of old chart formats with 6.2. For saving files currently I use this method: VARIANT v; V_VT( &v ) = VT_STREAM; V_UNKNOWN( &v ) = (IStream*)stream; chart_fx->PutFileMask( (CfxFileMask)( chart_fx->FileMask | FMASK_TEMPLATE ) ); hr = chart_fx->raw_Export( CHART_CFXOLEFILE, v, &result ); And read it back into chartfx via this method: VARIANT v; V_VT( &v ) = VT_STREAM; V_UNKNOWN( &v ) = (IStream*)stream; LARGE_INTEGER li; li.QuadPart = (LONGLONG)0; long result = 0; stream->Seek( li, STREAM_SEEK_SET, NULL ); ok = SUCCEEDED( chart_fx->raw_Import( CHART_CFXOLEFILE, v, &result ) ); Will chartfx 6.2 be able to read this information? Is the procedure any different..either direction ( import/export ) for 6.2? If there is a problem...is there any way to convert from 5.5 to 6.2 in order for 6.2 to be able to work with it? Thank you for your time. -Mac Link to comment Share on other sites More sharing options...
User (Legacy) Posted October 17, 2005 Report Share Posted October 17, 2005 Hi there, I am currently evaluating ChartFX 6.2 ( we currently use clientserver 5.5 ) and was wonder about the compatibility of old chart formats with 6.2. For saving files currently I use this method: VARIANT v; V_VT( &v ) = VT_STREAM; V_UNKNOWN( &v ) = (IStream*)stream; chart_fx->PutFileMask( (CfxFileMask)( chart_fx->FileMask | FMASK_TEMPLATE ) ); hr = chart_fx->raw_Export( CHART_CFXOLEFILE, v, &result ); And read it back into chartfx via this method: VARIANT v; V_VT( &v ) = VT_STREAM; V_UNKNOWN( &v ) = (IStream*)stream; LARGE_INTEGER li; li.QuadPart = (LONGLONG)0; long result = 0; stream->Seek( li, STREAM_SEEK_SET, NULL ); ok = SUCCEEDED( chart_fx->raw_Import( CHART_CFXOLEFILE, v, &result ) ); Will chartfx 6.2 be able to read this information? Is the procedure any different..either direction ( import/export ) for 6.2? If there is a problem...is there any way to convert from 5.5 to 6.2 in order for 6.2 to be able to work with it? Thank you for your time. -Mac Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.