beckhoff TwinCAT 3 — 14.2 Activation – “invalid object id” (1821/0x71d)

Troubleshooting | Using C++ classes in TwinCAT C++ module 14 Troubleshooting | Troubleshooting This is a list of pitfalls and glitches within the handling of TwinCAT C++ modules. 14.1 Using C++ classes in TwinCAT C++ module | Using C++ classes in TwinCAT C++ module When adding (non-TwinCAT) C++ classes using the Visual Studio context menu Add -> Class... , the compiler/linker reports: Error 4 error C1010: unexpected end of file while looking for precompiled header. Did you forget to add '#include ""' to your source? Insert the following lines at the start of your generated class file:

#include "TcPch.h" #pragma hdrstop 14.2 Activation – “invalid object id” (1821/0x71d) | Activation – “invalid object id” (1821/0x71d) If the ADS Return Code 1821 / 0x71d is reported during the course of the start, check the context of the module instance as described in Quick start [ } 71] . TwinCAT 3 232 Version: 1.19.1