Reading from a memory address

Blitz3D Forums/Blitz3D Programming/Reading from a memory address

@JFK: You can't share two memory areas between different programs, because of memory protection system. It means a memory pointer is valid only inside the program that has requested it.

A good solution are 'memory mapped files' . They work as normal files, but they're created in memory. I used this method with Blitz and I think it's the best. Look on MSDN. Of course you need userlib declarations.

If you have a window, the best solution (as already suggested) is WM_COPYDATA , but in B3D, isn't very suitable.