[Date Prev][Date Next][Thread Prev][Thread Next]
- Subject: Re: Best way to save/re-load an lua state
- From: ketmar <ketmar@...>
- Date: Mon, 23 Mar 2009 13:12:53 +0200
On Mon, 23 Mar 2009 12:01:35 +0100
"firstname.lastname@example.org" <email@example.com> wrote:
> > This will only work if you new buffer is loaded at the same address
> > as the old one, as there'll be pointers embedded all throughout the
> > data.
> Yes. But how can this be achieved? Is there any windows API to get a
> fixed address? Or do I have to use a DLL with an "shared" part and
> load that DLL on a fixed address into process space?
see VirtualAllocEx() function.