// Comp.cpp : Implementation of CComp #include "stdafx.h" #include "Comp.h" #include "_ICompEvents_CP.h" #include // CComp STDMETHODIMP CComp::Start(long count) { std::wcout << "\n Start(" << count << ") called"; Fire_OnTick(); Fire_OnTick(); Fire_OnTick(); return S_OK; } STDMETHODIMP CComp::Stop(void) { std::wcout << "\n Stop() called"; return S_OK; }