activeX and DirectShow linking
Hi all,
I have to convert my DirectShow progam (.exe) into an activeX. I got 2 linking problems (It's OK when I compile my ".exe"):
Quote:
Strmbasd.lib(dllentry.obj) : error LNK2001: unresolved external symbol "class CFactoryTemplate * g_Templates" (?g_Templates@@3PAVCFactoryTemplate@@A)
Strmbasd.lib(dllentry.obj) : error LNK2001: unresolved external symbol "int g_cTemplates" (?g_cTemplates@@3HA)
I used:
Quote:
Strmbasd.lib winmm.lib
for linking.
I also try to link with strmiids.lib, but I still got these error.
Pls help. Thanks!