Keep It Simple, Stupid | |
PerlMonks |
Calling Server Side ActiveX DLLby THuG (Beadle) |
on Jul 18, 2001 at 21:19 UTC ( [id://97776]=perlquestion: print w/replies, xml ) | Need Help?? |
THuG has asked for the wisdom of the Perl Monks concerning the following question: Okay, I've been doing work with ASPs in VBScript. I was asked to put together a Proof of Concept based on some other work. That's fine, but I am getting increasingly upset with VBScript, and I didn't feel like doing this quick and dirty PoC in multidimensional arrays that would need to be ReDim'ed every time I wanted to add an element. I downloaded ActivePerl and have done this most recent ASP in PerlScript. But I need to add a chart to this page. The VBScript ASPs have been calling a server side ActiveX DLL that accepts an array (variant), builds a chart from the MSChart control and returns a filename. That filename is the JPeg image of the chart, you just include it in the img tag. Well, I went in and doctored the ActiveX DLL so it is accepting a comma delimited string of values instead of an array. But I'm getting an unspecified syntax error when I call it. Does anyone have any ideas, or have any ideas as to how I can find out more about why it is not working. Here is the an example of the original VBScript
This is my test ASP to see if I can make the call with PerlScript.
I'm getting a syntax error on line 11. $maxes and $mins are optional arguements to CreateBarChart. I get the same error if I include them. -Travis
Back to
Seekers of Perl Wisdom
|
|