Re: [Ironpython-users] Memory Allocation in Iron Python

2012-01-23 Thread Dino Viehland
[email protected]] On Behalf Of Markus Schaber Sent: Sunday, January 22, 2012 11:44 PM To: Jim Pattee; [email protected] Subject: Re: [Ironpython-users] Memory Allocation in Iron Python Hi, Jim, You only gave us half of the source. Which way do you pass the memory

Re: [Ironpython-users] Memory Allocation in Iron Python

2012-01-23 Thread Jeff Hardy
There are a couple of known bugs in ctypes. Can you produce a self-contained example, perhaps using a libc on Windows API function as the target? - Jeff On Sun, Jan 22, 2012 at 3:50 PM, Jim Pattee wrote: > I am trying to allocate memory in Iron Python to receive text from a DLL. > The allocated

Re: [Ironpython-users] Memory Allocation in Iron Python

2012-01-22 Thread Markus Schaber
Hi, Jim, You only gave us half of the source. Which way do you pass the memory address to the native DLL? One difference is, for example, that .NET relocates objects sometimes, so they need to be pinned. Best regards Markus Schaber -- ___ We software Automation. 3S-Sm