public QTrkInstance(QTrkConfig config) { if (!IsDLLSelected) { throw new ApplicationException("Use QTrkInstance::SelectDLL before creating an instance"); } inst = QTrkDLL.QTrkCreateInstance(ref config); QTrkDLL.QTrkGetComputedConfig(ref config, out cc); }