Jump to content
Software FX Community

Re: Passing an array in VC++


User (Legacy)
 Share

Recommended Posts

Create one dimensional SAFEARRAYs and then use ICfxDataArrayPtr::AddArray() 

multiple times.

Regrads,

Boris.

<bangalore@chemimage.com> wrote in message

news:DE0379D14694D211B4CE00609770710D055237@sftfx-221.wamnet.net...

> Hi Franc,

>

> Thanks for guiding me in the right direction. I was able to change the

> number of series and values using OpenDataEx method of the ChartFX 98

> object.

>

> I am a little confused as to how to pass an array. Let us say that I have

> 21x69 array in memory (21 series, 69 values/series). 'Reading Data from

> Arrays' from help describes all that is needed for a VB project. How is

it

> done in VC++ project as there is no Reference option under Project menu?

>

> The help also says that one can not pass multi-dimensional arrays such as

> nData(10,10)in to ChartFX 98. I appreciate if you can write a sample

piece

> of code to readin Data(21,69) from memory to ChartFX in VC++.

>

> Thanks,

> Arjun

>

>

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

 Share

×
×
  • Create New...