Linking other comps' to your comp

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

I made a component for my wecam. Upon testing I discovered that there were
two windows system files missing that were needed.
These being :
vidcap.ax
msh263.drv

I added those to my config and rebuilt. Worked a charm.

My question is:

Should I tie those two components as being dependencies in my SLD?

or

Make a macro component that brings in those two mini components? ( Keeping
them separate from my SLD )

Any thoughts?
 
Hi Blue

Normally, when your driver component needs theese two files,
you set a dependency in your compomnent.

It's more visible as a macro component.
(logfiles, dependency check,...)




--

Martin Grossen, eMVP

AVNET EMG Silica
Franchise Manager Microsoft Embedded Europe

Your competent partner for Microsoft Embedded licencing

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
 
How about setting the "USB Video Device" and "Primitive: Msh263" components as dependencies for your own component?

Please keep in mind that the vidcap.ax (filter object) needs to be properly registred.
 
Thanks Martin and KM.

KM, when you say "Please keep in mind that the vidcap.ax (filter object)
needs to be properly registred" how do I verify that? I suppose I'll know if
the camera doesn't work. I'll set the deps in the SLD and test.

Thanks again.
 
Well, if you included the "USB Video Device" then the vidcap.ax is registred.

Otherwise, check out the presense of following registry key at runtime, for instance:
[HKEY_CLASSES_ROOT\CLSID\{A0227FFC-3AA7-4dc3-9FD7-125745C9EAF6}]
 
And, of course, you can do "regsvr32 vidcap.ax" at run time. Although I am not sure if it will get you all the required registry
entries for this filter. The USB video Device component rather sets the required registry entries than registers the .ax component
with regsvr32.

--
=========
Regards,
KM
Well, if you included the "USB Video Device" then the vidcap.ax is registred.

Otherwise, check out the presense of following registry key at runtime, for instance:
[HKEY_CLASSES_ROOT\CLSID\{A0227FFC-3AA7-4dc3-9FD7-125745C9EAF6}]

--
=========
Regards,
KM
Thanks Martin and KM.

KM, when you say "Please keep in mind that the vidcap.ax (filter object)
needs to be properly registred" how do I verify that? I suppose I'll know if
the camera doesn't work. I'll set the deps in the SLD and test.

Thanks again.
 
Back
Top