Page 1 of 1

MultiViewDemo standard example

PostPosted: Thu Oct 26, 2017 6:08 am
by Lena
Hi.
I tried to compile a standard embarcadero example:
C:\Users\Public\Documents\Embarcadero\Studio\18.0\Samples\CPP\Multi-Device Samples\User Interface\MultiViewDemo
example does not work:
/* Messaging */
void __fastcall DoFormReleased(System::TObject* const Sender, System::Messaging::TMessage* const M);
[bcc32 Error] FmxMultiViewCustomPresentation.h(54): E2316 'TMessage' is not a member of 'Messaging'
Full parser context
MainFrm.cpp(15): #include MainFrm.h
MainFrm.h(29): #include FmxMultiViewCustomPresentation.h
FmxMultiViewCustomPresentation.h(48): class TMultiViewAlertPresentation

Re: MultiViewDemo standard example

PostPosted: Thu Oct 26, 2017 11:27 am
by rlebeau
Lena wrote:[bcc32 Error] FmxMultiViewCustomPresentation.h(54): E2316 'TMessage' is not a member of 'Messaging'


Use TMessageBase Instead of TMessage for C++ Projects

Re: MultiViewDemo standard example

PostPosted: Fri Oct 27, 2017 8:26 am
by Lena
I wonder if the company embarcadero/edera reads this before publishing C++ standard examples? :)