Hi, I have to find the projects that use an OCX control. One way I could think of is to grep for which VC++ projects include the control's headerfile, say search for "reusecontrol.h" It is quite likely the controls that use the header are using the control itself, though it is not guranteed.
The other question that comes to my mind is, don't the OCX control have a unique GUIID that usually is written into the IDE managed resource script? Can I find the GUI from a project that I know uses the control, search for the GUIID in the other projects and thus determine the usage?
What other techniques could be employed to accurately determine the OCX control usage?
Environment: VC++, C#, Visual Studio 2008