Re: shared memory

2015-01-28 Thread Thierry Nivelet
://foxincloud.com/ Le 27/01/2015 21:20, Jean MAURICE a écrit : I would like to test transmission of datas between two exe with shared memory (CreateFileMapping, OpenFileMapping, MapViewOfFile, UnmapViewOfFile). I can do it work with strings (I can send a string and I can receive it in the second

Re: shared memory

2015-01-28 Thread Jean MAURICE
Hi Thierry, why looking for so far when it is so near ! But I have an issue : with this program: SET PATH TO C:\VFP\VFP9\INTERNET\LEAFE\CTOXML\ ADDITIVE SET PROCEDURE TO C:\VFP\VFP9\INTERNET\LEAFE\CTOXML\ABOOP.PRG, C:\VFP\VFP9\INTERNET\LEAFE\CTOXML\AB.PRG loobj = CREATEOBJECT(test) lcresult

Re: shared memory

2015-01-28 Thread Thierry Nivelet
Hi Jean, Normal, your object has all properties identical to the class. This will work: SET PATH TO C:\VFP\VFP9\INTERNET\LEAFE\CTOXML\ ADDITIVE AB() loObj = CREATEOBJECT(test) loObj.toto = toto1 addProperty(loObj, 'test', test) _cliptext = cXMLofObject(m.loObj) ? _cliptext

RE: shared memory

2015-01-27 Thread Virgil Bierschwale
: ProFox [mailto:profox-boun...@leafe.com] On Behalf Of Jean MAURICE Sent: Tuesday, January 27, 2015 2:20 PM To: ProFox Email List Subject: shared memory I would like to test transmission of datas between two exe with shared memory (CreateFileMapping, OpenFileMapping, MapViewOfFile, UnmapViewOfFile). I

shared memory

2015-01-27 Thread Jean MAURICE
I would like to test transmission of datas between two exe with shared memory (CreateFileMapping, OpenFileMapping, MapViewOfFile, UnmapViewOfFile). I can do it work with strings (I can send a string and I can receive it in the second exe). But now, I want to improve it : I would like

Re: shared memory

2015-01-27 Thread Kevin Cully
Hey Jean, I wrote that class, so I guess I'm to blame! :D Is it giving you an error? Can you paste in some code on how you are calling it? On 01/27/2015 03:20 PM, Jean MAURICE wrote: I would like to test transmission of datas between two exe with shared memory (CreateFileMapping

Re: shared memory

2015-01-27 Thread Jean MAURICE
Hi Kevin, it gives an error on the 'controls' property that can't be 'evaluate' because it is a collection. If you allow me, I'll 'improve' it ! I will also add recursivity because a property can be a pointer to another class. But, as it is for my own 'pleasure', priority is low and it will