I'm trying to use DetailingSymbolBaseHandler:
DetailingSymbolBaseHandler *detailingSymbolBaseHandler = dynamic_cast<DetailingSymbolBaseHandler*>(&eeh.GetHandler()); if (detailingSymbolBaseHandler) // supports ITextEdit { wprintf(L"Support for DetailingSymbolBaseHandler not implemented yet\n"); }
but the compiler complains when I include:
#include <DgnPlatform\DetailingSymbol\DetailingSymbol.h>
1>C:\Program Files\Bentley\MicroStationCONNECTSDK\include\DgnPlatform/ViewElementHandlerSubTypes.h(47): error C3646: 'GetCalloutType': unknown override specifier
1>C:\Program Files\Bentley\MicroStationCONNECTSDK\include\DgnPlatform/ViewElementHandlerSubTypes.h(47): error C2275: 'Bentley::ElementHandleCR': illegal use of this type as an expression
1> C:\Program Files\Bentley\MicroStationCONNECTSDK\include\DgnPlatform\DgnPlatform.h(258): note: see declaration of 'Bentley::ElementHandleCR'
1>C:\Program Files\Bentley\MicroStationCONNECTSDK\include\DgnPlatform/ViewElementHandlerSubTypes.h(47): error C2146: syntax error: missing ')' before identifier 'viewEl'
1>C:\Program Files\Bentley\MicroStationCONNECTSDK\include\DgnPlatform/ViewElementHandlerSubTypes.h(47): error C2238: unexpected token(s) preceding ';'
I also tried to include:
#include <DgnPlatform\DetailingSymbol\DetailingSymbolHandlers.h>
but that had more "errors"..
Bruce