To answer your question from the original post:
- I have it working (Perl 5.8.8, ARSperl 1.92, ARS 7.1)
- I tried once to compile it with Cygwin; in the end came to the conclusion that it wouldn't be possible, but I don't remember the reason why.

In the lines 2500, 2505 of ARS.xs (1.92) there are two printf calls for debugging purposes that you might uncomment, and then recompile and see if there's anything unusual in the output.


Regards,
Thilo


On 19.03.2010 16:08, Walters, Mark wrote:
Yes, this is with the corrected version of the script.

Mark

-----Original Message-----
From: Action Request System discussion list(ARSList) 
[mailto:arsl...@arslist.org] On Behalf Of Thilo Stapff
Sent: 19 March 2010 14:35
To: arslist@ARSLIST.ORG
Subject: Re: ARSPerl ars_Export problems

ars_Export is called incorrectly in line 65 of Dump_Setup.pl
Rather than

    $val = ars_Export($c,"",$type,$name);

the line should read:

    $val = ars_Export($c,"",&ARS::AR_VUI_TYPE_NONE,$type,$name);

Do you still get the error with the corrected version?


Regards,
Thilo




On 19.03.2010 15:01, Walters, Mark wrote:
**

I'm trying to use the ars_Export call in ARSPerl but I can't get it to
work under Windows. Using ARSPerl 1.90/Solaris 10/Perl 5.8.4 the
example/Dump_Setup.pl script works fine. However, I've tried 1.90/Perl
5.8.4 and 1.92 (pulled via cvs) with Perl 5.10 but neither work. Other
example scripts such as Dump_User work OK but I either get nothing back
at all when calling ars_Export or I get an errors such as;

"perl.exe - Application Error The instruction at "0x77fcd3fe" referenced
memory "0x022006b5". The memory could not be "read"."

Or

D:\dev\ARSperl\example>perl Dump_Setup.pl Demo password

Free to wrong pool 225cf0 not 10c0199 at Dump_Setup.pl line 66.

Does anyone have this working under Windows and, if so, would you share
your perl/arsperl versions? Also has anyone been able to get ARSPerl
compiled under cygwin?

Thanks

Mark

_attend WWRUG10 www.wwrug.com ARSlist: "Where the Answers Are"_

_______________________________________________________________________________
UNSUBSCRIBE or access ARSlist Archives at www.arslist.org
attend wwrug10 www.wwrug.com ARSlist: "Where the Answers Are"

_______________________________________________________________________________
UNSUBSCRIBE or access ARSlist Archives at www.arslist.org
attend wwrug10 www.wwrug.com ARSlist: "Where the Answers Are"


_______________________________________________________________________________
UNSUBSCRIBE or access ARSlist Archives at www.arslist.org
attend wwrug10 www.wwrug.com ARSlist: "Where the Answers Are"

Reply via email to