Samples 10.3.3 Connection Points See the sample program for a complete implementatin of a connection point to the TcEventLogger. 10.3.4 Add the TcEvtCfgEditor ActiveX into an Dialog To insert the TcEvtCfgEditor into an dialog based MFC Application simply follow this step by step tutorial. 1. Start MSVisual Studio 6. 2. Create a new dialog based MFC Application. 3. In design mode rightclick on the dialog resource and choose 'Insert ActiveX Control'. 4. Select the Beckhoff EvtCfgEditor and place it on your Dialog. 5. Open the Class Wizzard and switch to the 'Member Variables' Tab 6. Select IDC_EVTCFGEDITOR1 and click on AddVariable 7.
In the following Dialog choose OK to get an automaticly generated wrapper class 8. In the following Dialog keep all items selected and choose OK. 9. Now enter a name for the member variable. 10. The ActiveX is ready to use. Call GetConfiguration [ } 63] to get access to the underlying Configuration Object [ } 26] TcEventLogger 192 Version: 1.1 Language / IDE Source code Visual Studio 6 C++ https://infosys.beckhoff.com/content/1033/ TcEventLogger/Resources/12333058571/.zip Language / IDE Source code Visual Studio 6 C++ https://infosys.beckhoff.com/content/1033/ TcEventLogger/Resources/12333059979/.zip Language / IDE Source code Visual Studio 6 C++ Sample04.zip (in preparation)