[OSRS-PROJ] One more help, please...
Paul Selormey
paul at toolscenter.org
Mon Jun 10 07:07:39 PDT 2002
Hello Frank,
Thanks for the reply.
> Why use a long for lUserParameter instead of a void *?
I thought of that too, but decided on the Windows style! The DWORD
parameter in most Windows structures for user-defined parameters.
> I would suggest defining a union within the base structure, and using
> anonymous structures within that to hold the values for different
projections.
> This would make the values externally visible which could be useful in
some
> cases.
Makes a lot of sense. However, is anonymous structures supported by non-MS
compilers. Sometime ago, it seems to be a problem with the Mingw32/Mingw
compiler (the gcc-based Windows compiler). I do not know about others.
BTW, a little code to illustrate your points will make my friend easier :-)
Best regards,
Paul.
----------------------------------------
PROJ.4 Discussion List
See http://www.remotesensing.org/proj for subscription, unsubscription
and other information.
More information about the Proj
mailing list