Thanks Thilo, I've installed Perl 5.8.9 and recompiled/install 1.92 with the debugging printout. When I run Dump_Setup.pl it manages to export a couple of forms before throwing a memory error. It does this on several servers I have access to;
C:\dev\ARSperl\example>perl Dump_Setup.pl Demo "" structItems.structItemList[i].type <1> structItems.structItemList[i].name <FormB> structItems.structItemList[i].type <1> structItems.structItemList[i].name <FormA> and then this pops up; perl.exe - Application Erorr The instruction at "0x77fcd7a9" referenced memory at "0x00000000". The memory could not be written. I'm using Visual Studio .NET 2003 as my compiler. Perhaps I'll use Solaris after all! Mark -----Original Message----- From: Action Request System discussion list(ARSList) [mailto:[email protected]] On Behalf Of Thilo Stapff Sent: 19 March 2010 15:30 To: [email protected] Subject: Re: ARSPerl ars_Export problems 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:[email protected]] On Behalf Of Thilo Stapff > Sent: 19 March 2010 14:35 > To: [email protected] > 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" _______________________________________________________________________________ UNSUBSCRIBE or access ARSlist Archives at www.arslist.org attend wwrug10 www.wwrug.com ARSlist: "Where the Answers Are"

