Hi Frigyes,

Ok.. if it works for your problem, then i guess it's fine, i was just
wondering why you choose this direction

Thanks for the contribution.

--
Wil

Frigyes Nagy wrote:
> Hi Will!
>
> thanks for your answer
>
> first, you have right this is without any semaphor or mutex, but works,
> you can try the multiple access with loops like:
>
> for WINDOWINDEX from 0 to 100000
> for i from 1 to 120
> Move (Random(1000000)) To FIELDINDEX
> move (gsetint( i , FIELDINDEX )) to void
> move (gSets ( (mod(i,20)) , ("Loop" * (string(WINDOWINDEX)) ) ) ) to
> void
> // check is the integer the same
> // move (ggetint( i )) to void
> // if void ne fieldindex increment nichtok
> loop
> loop
>
> and start it multiple times , you has never a memory-access error (I use
> WinXP Sp2), but of course it's possible that the value you write down to the
> memory get overwrited from the other process. Please read:
>
> http://www.codeproject.com/dll/superdll.asp
>
> http://www.codeproject.com/dll/data_seg_share.asp
>
>
> I also try Oliver Nelson's good documented and good working article about
> IPC, but this is for me, more complicated and is for really communication.
>
> I use the DLL only for user checking, to share windows positions and colors
> between different VDF programs and to exchange file-numbers and recnums (as
> export-files)
>
>