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. >>

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

Re: Having multiple instances of a single application start a single instance of another one

2007-02-23 Thread buffinator
Troy Melhase wrote: >> The first time A starts, it should open a B process and start >> communicating with it. All other times an A instance starts it should >> simply talk with the B that already is open. > > B should write its process id to a location known by both > applications. When A starts

Having multiple instances of a single application start a single instance of another one

2007-02-23 Thread buffinator
I have two applications that should work together, let's call them A and B. The first time A starts, it should open a B process and start communicating with it. All other times an A instance starts it should simply talk with the B that already is open. The problem here is, if I start say 40 A a