Is it possible to type cast a memory block into a variable(Structure) ?
I use an API call which gives me back a memory block, which is a structure.
In C++ it looks like this:
vBitMap = (BMSTRUCTURE *) DIBPtr ;
Or C#
vBitMap = new BMSTRUCTURE ;
Marshal.PtrToStructure( DIBPtr, VBitMap) ;
So, I am looking for the equivalence of this code in WinDev.
Thanks.