Re: WindowsError: exception: access violation

2011-07-22 Thread Thomas Jollans
> On Fri, Jul 22, 2011 at 7:47 AM, Benjamin Kaplan wrote: > Are you using a Cygwin build of Python? Trying to mix Cygwin with > normal Windows programs doesn't usually work very well. On 22/07/11 06:41, Sathish S wrote: > Benjamin thanks for replying. i'm not using the python that comes wi

Re: WindowsError: exception: access violation

2011-07-21 Thread Sathish S
Benjamin thanks for replying. i'm not using the python that comes with cygwin. Its the regular python 2.7.2 To add more info I'm opening up a zip file within the DLL. The zip file is located in the same directory. arg1 is the file name arg2 is zip password Thanks, Sathish On Fri, Jul 22, 2011 at

Re: WindowsError: exception: access violation

2011-07-21 Thread Benjamin Kaplan
On Thu, Jul 21, 2011 at 6:42 PM, Sathish S wrote: > Hi Ppl, > >  I have been trying to call a C DLL built in GCC with cygwin and Eclipse IDE > from python. Since this DLL was built using cygwin it had the following two > DLL's as dependency. cygwin1.dll and cyggcc_s-1.dll > > I'm calling the cygwi

Re: WindowsError: exception: access violation writing 0x00000000

2009-08-04 Thread Sparky
On Aug 4, 9:47 am, Philip Semanchuk wrote: > On Aug 4, 2009, at 11:25 AM, Sparky wrote: > > > > > > > On Aug 3, 3:29 pm, Sparky wrote: > >> Hello! I am using cTypes on Windows to interface with a dll and I   > >> keep > >> getting an error when I execute this method: > > >> def eDigitalIn(self, c

Re: WindowsError: exception: access violation writing 0x00000000

2009-08-04 Thread Philip Semanchuk
On Aug 4, 2009, at 11:25 AM, Sparky wrote: On Aug 3, 3:29 pm, Sparky wrote: Hello! I am using cTypes on Windows to interface with a dll and I keep getting an error when I execute this method: def eDigitalIn(self, channel, idNum = None, demo = 0, readD=0): """ Name: U12.eAna

Re: WindowsError: exception: access violation writing 0x00000000

2009-08-04 Thread Sparky
On Aug 3, 3:29 pm, Sparky wrote: > Hello! I am using cTypes on Windows to interface with a dll and I keep > getting an error when I execute this method: > > def eDigitalIn(self, channel, idNum = None, demo = 0, readD=0): >         """ >         Name: U12.eAnalogIn(channel, idNum = None, demo = 0,