You should show Your sample. struct and template are not so easy to use, and another compilers can do not the same with templates. If You use typedef struct, it may help You to work with templates.
Genarally, if You have a Pointer to a structure (in template's Function too), You can allways find out all elements of this structure.