
Some parts of this message have been removed.
Learn more about Nabble's
security policy.
Ok, yes I thaught
that Area Reference must be unique.
Thanks for this
information,
Best Regards
Brice Cadran
De :
4D-Plugins@... [mailto:4D-Plugins@...] De la part de
Alexandre Brault-Tremblay
Envoyé : mercredi 22 juillet 2009 14:07
À : '4D Plugin Talk'
Objet : RE: Generate unique PA_SetAreaReference
From your question, it
seems you believe 4D’s AreaReference is a unique identifier. It isn’t.
PA_SetAreaReference
allows you to assign custom data to an external area. Since the function takes
a void*, you can place anything there, e.g. a C struct or a C++ class. Just allocate
memory during the eAE_InitArea event using malloc, new or whatever method you
prefer.
Alexandre Brault
>Hi,
>
>How to be sure to generate unique AreaReference ? Do you have any
tool or method ?
>
>Best Regards,
>
>Brice Cadran