Zdravstvuite, srazu hochu izvinit'sya za ruslit... chem bogati...
U menya voznikla takaya problema :
U menya est' ne shablonnii class s shablonnim methodom v .dll,
# ifdef DLL_EXPORTS
# define DLL_API __declspec(dllexport)
# else
# define DLL_API __declspec(dllimport)
# endif
S etim vse v poryadke, net problem s vizovom neshablonnih methodov.
class DLL_API A
{
public:
A(){}
~A(){}
void func(){}
template < class T >
void funcTempl( T a_pT ){}
};
Gde-to v drugom module :
A a;
a.func(); — OK
int templ=0;
a.funcTempl(templ); — linker rugaetsya :
unresolved external symbol "__declspec(dllimport) public: void __thiscall A::funcTempl(int) i ya ego ponimau

, kogda on "sobiral" dll s etim klassom, to ne znal, chto mne ponadobitsya funktziya s argumentom tipa int... S drugoi storoni pri napisanii dll ya ne znau vse tipov argumentov...
Est' li kakoi-nibud' vihod iz etoi situatzii ?