Ich habe ein Visual Studio 2015-Projekt, das den afxcmn-Header verwendet und viele "undefined" -Fehler aufweist.Bezeichner "PLVGROUP" ist undefiniert afxcmn.h
Ich habe in der Dokumentation gelesen, dass diese Datentypen in commctrl.h enthalten sind, das bereits im Visual Studio-Projekt als externe Abhängigkeit enthalten ist.
// Adds a group to the control.
AFX_ANSI_DEPRECATED int InsertGroup(_In_ int index, _In_ PLVGROUP pgrp);
// Sets information about the specified group (by ID) in the control.
AFX_ANSI_DEPRECATED int SetGroupInfo(_In_ int iGroupId, _In_ PLVGROUP pGroup);
// Retrieves information for the specified group in the control.
AFX_ANSI_DEPRECATED int GetGroupInfo(_In_ int iGroupId, _Out_ PLVGROUP pgrp) const;
, dass einige Codebeispiel des Afxcmn.h, die diese Fehler gibt.
Ich weiß nicht, ob ich etwas anderes in dem Projekt zu konfigurieren, habe den commctrl Header
'# include' zu ändern? –
Simple
yup, das erste, was ich natürlich versuchte, funktioniert nicht – lapinkoira