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-23 Thread Dino Viehland
One potential issue here could be ASCII vs Unicode strings. Depending on wherever the copy into this memory occurs it could end up copying the Unicode string into a buffer which is sized for ASCII strings. From: [email protected] [mailto:ironpython-users-b