"Emry, Owen" <[EMAIL PROTECTED]> writes:

 EO> How long is a pointer returned by FldGetTextPtr guaranteed to be
 EO> valid?

If I understood things right, as long as you lock the handle associated with
the memory the pointer points to. Unlocked data can be relocated any time.

In an application I am writing, I use FldSetTextPtr/FldGetTextPtr with
pointers to text which is declared as const in the C source code. Hopefully,
the application won't be relocated while running.

Does anyone know whether this is true?

Ingo

Reply via email to