Can I use a template function (member function)in a clas that is exported from a DLL?

I've got an error like:
"INTERNAL PREPROCESSOR ERROR"
and something like this and:
"Go to menu Help->Troubleshuting"