Jump to content
Software FX Community

cfxDataArray


User (Legacy)

Recommended Posts

I am creating a wrapper for the server object and have everything working

except for adding arrays as the datasource. For some reason, the png/jpg

generated is always the image of random data. I have checked the array

passed and everything looks ok, and I do have the array data source working

without the COM wrapper. I pass the array byref as a variant so that it can

be used not only by other com objects but also directly by asp pages. I have

checked to make sure that this wasn't the problem by creating an array

inside the method that would read the variant array into it and pass that

array into the addarray method, but that doesn't fix the issue. Has anyone

had an issue where when they use the addarray method, the data doesn't show?

I set the DataType for the different arrays to values or labels accordingly

so that doesn't appear to be the issue either. Thanks in advance.

-Adam

Link to comment
Share on other sites

Are you using the GetExternalData method in your wrapper ?

--

Regards,

JC

"Adam DiCaprio" <adicaprio@eagency.com> wrote in message

news:7X9EaMHSBHA.1444@webserver1.softwarefx.com...

> I am creating a wrapper for the server object and have everything working

> except for adding arrays as the datasource. For some reason, the png/jpg

> generated is always the image of random data. I have checked the array

> passed and everything looks ok, and I do have the array data source

working

> without the COM wrapper. I pass the array byref as a variant so that it

can

> be used not only by other com objects but also directly by asp pages. I

have

> checked to make sure that this wasn't the problem by creating an array

> inside the method that would read the variant array into it and pass that

> array into the addarray method, but that doesn't fix the issue. Has anyone

> had an issue where when they use the addarray method, the data doesn't

show?

> I set the DataType for the different arrays to values or labels

accordingly

> so that doesn't appear to be the issue either. Thanks in advance.

>

> -Adam

>

>

>

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...