MultiViewDemo standard example

This is the forum for miscellaneous technical/programming questions.

Moderator: 2ffat

MultiViewDemo standard example

Postby Lena » Thu Oct 26, 2017 6:08 am

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
Lena
BCBJ Master
BCBJ Master
 
Posts: 522
Joined: Sun Feb 06, 2011 1:28 pm

Re: MultiViewDemo standard example

Postby rlebeau » Thu Oct 26, 2017 11:27 am

Lena wrote:[bcc32 Error] FmxMultiViewCustomPresentation.h(54): E2316 'TMessage' is not a member of 'Messaging'


Use TMessageBase Instead of TMessage for C++ Projects
Remy Lebeau (TeamB)
Lebeau Software
User avatar
rlebeau
BCBJ Author
BCBJ Author
 
Posts: 1450
Joined: Wed Jun 01, 2005 3:21 am
Location: California, USA

Re: MultiViewDemo standard example

Postby Lena » Fri Oct 27, 2017 8:26 am

I wonder if the company embarcadero/edera reads this before publishing C++ standard examples? :)
Lena
BCBJ Master
BCBJ Master
 
Posts: 522
Joined: Sun Feb 06, 2011 1:28 pm


Return to Technical

Who is online

Users browsing this forum: Bing [Bot], Google [Bot] and 10 guests

cron