Re: Recreating a char array from a pointer

2007-02-24 Thread buffinator
Oh, nice Im running 2.4 but im gonna download it and give it a try then Thanks! Thomas Heller wrote: > buffinator schrieb: >> I have an application that has to send a string as a pointer to memory, >> and then another one that has to retriece it and fetch the string. >> Converting the string to

Re: Recreating a char array from a pointer

2007-02-24 Thread Thomas Heller
buffinator schrieb: > I have an application that has to send a string as a pointer to memory, > and then another one that has to retriece it and fetch the string. > Converting the string to an array and sending the pointer was easy > > import array > a=array.array("c","mytextgoeshere") > my_poin

Recreating a char array from a pointer

2007-02-24 Thread buffinator
I have an application that has to send a string as a pointer to memory, and then another one that has to retriece it and fetch the string. Converting the string to an array and sending the pointer was easy import array a=array.array("c","mytextgoeshere") my_pointer = a.buffer_info()[0] But the