Hi,
I am developing an ActiveX control in VC++ 6.0 using DirectShow. But when i compile my control it gives the following linker error.
And the error occurs only when its an ActiveX control and not simple dialog based application or SDI application.
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)
The project settings contain following entry
C:\DXSDK\samples\Multimedia\DirectShow\BaseClasses\Debug\strmbasd.lib
winmm.lib
Library are in good version.... I think i just forget an include or a link (difference between ActiveX and Application????)
Please help me out !!
Thanks and Regards,
Lawseb
I am developing an ActiveX control in VC++ 6.0 using DirectShow. But when i compile my control it gives the following linker error.
And the error occurs only when its an ActiveX control and not simple dialog based application or SDI application.
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)
The project settings contain following entry
C:\DXSDK\samples\Multimedia\DirectShow\BaseClasses\Debug\strmbasd.lib
winmm.lib
Library are in good version.... I think i just forget an include or a link (difference between ActiveX and Application????)
Please help me out !!
Thanks and Regards,
Lawseb