User (Legacy) Posted September 28, 2001 Report Share Posted September 28, 2001 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 More sharing options...
Software FX Posted October 2, 2001 Report Share Posted October 2, 2001 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 More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.