DLLs communicating

Everything else that doesn't fall into one of the other PB categories.
freddix
Enthusiast
Enthusiast
Posts: 100
Joined: Sun Feb 08, 2004 7:22 pm
Location: South France
Contact:

DLLs communicating

Post 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 ?
User avatar
Rings
Moderator
Moderator
Posts: 1435
Joined: Sat Apr 26, 2003 1:11 am

Post by Rings »

I don't know if it helps, but i can offer you my new GlobalSharedMemory Library to share memory .
download here
SPAMINATOR NR.1
freddix
Enthusiast
Enthusiast
Posts: 100
Joined: Sun Feb 08, 2004 7:22 pm
Location: South France
Contact:

Post by freddix »

Thanks :)
I will try it next week-end to see if it can fit to my needs ;)
Post Reply