Page 1 of 1

DLLs communicating

Posted: Wed Feb 23, 2005 1:14 am
by freddix
Hello.

I'd like to have 2 DLLs that share data.

I explain

For example, I use a structure :

Code: Select all

Structure MyStructure
  Name.s : Value.l : Index.l
 EndStructure
Global WorkStructure.MyStructure
I want that the 2 DLLs use the same structure [ at the same memory adress then ]

Is there a way to send the Structure pointer from 1 DLL and use it in another one ?

Posted: Wed Feb 23, 2005 9:22 am
by Rings
I don't know if it helps, but i can offer you my new GlobalSharedMemory Library to share memory .
download here

Posted: Wed Feb 23, 2005 11:19 am
by freddix
Thanks :)
I will try it next week-end to see if it can fit to my needs ;)