Jump to content
Software FX Community

Reload Annotation


User (Legacy)

Recommended Posts

I am sorry that I did not mention I am using VC++. The

GetExtension(_bstr_t("AnnotationX.AnnList")) always crashes ( I have the

latest service pack).

ReadFileFromArchive(ar, sFileName);

m_pChartFX->Import(CHART_CFXOLEFILE, (_variant_t)sFileName);

m_pAnnList = m_pChartFX->GetExtension("AnnotateX.AnnList");

The run-time error message is:

KERNEL32! 7c59ba9d()

MSVCRTD! _CxxThrowException@8 + 57 bytes

_com_error::_com_error(_com_error * const 0x00000000 {???},

long -2147221005, IErrorInfo * 0x00000000, unsigned char 0) address

0x025775a9

_com_issue_errorex(long -2147221005, IUnknown * 0x00000000, const _GUID &

{????????-????-????-????-????????????}) + 93 bytes

_com_issue_errorex(long -2147221005, IUnknown * 0x00000000, const _GUID &

{IID_IChartFX}) + 93 bytes

IChartFX::GetExtension(_bstr_t {"AnnotateX.AnnList" (1)}) line 1624

Did I miss anything here?

Thanks.

Jun Xia

"SoftwareFX Support" <support@softwarefx.com> wrote in message

news:Euj7GoiqDHA.1560@WEBSERVER1...

> You can use the Extensions property and loop trough it to get a reference

> Annotation extension that was read, search for it by Type. Then you can

use

> the annotation.ToolBar property to determine whether the toolbar is on or

> off.

> --

> FP

> Software FX, Inc.

>

>

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...