Page 1 of 1

string, file5x, and platformSupport5x

Posted: 9 Oct 2017 17:29
by mdosnov2016
can anybody tell me how to make concat work,
since it doesn't recognise class string?

Code: Select all

State_name = string::concat("state_", State_num_str), ...
the same problem (the classes are not visible) with file5x and platformSupport5x.

any useful #include for example?...

many thanks in advance,
Dr Michael Dossis

Posted: 9 Oct 2017 21:18
by Thomas Linder Puls
In a "normal" project necessary include statements will normally be inserted automatically.

But if your project is for example a migrated vip5 project (which I happen to know it is), then the IDE may not know where to insert the statement (due to a bad/unusual project structure).

The necessary include statement looks like this:

Code: Select all

#include @"pfc\string\string.ph"
I will suggest to create a little test project to see how a normal project is structured into with pack, ph, i, cl and pro files.

Posted: 9 Oct 2017 21:41
by mdosnov2016
Thank you Thomas,
and what include for file5x and platformSupport5x ?

Michael

Posted: 10 Oct 2017 19:42
by Thomas Linder Puls

Code: Select all

#include @"pfc\5xVIP\5xFile\5xFile.ph"

Code: Select all

#include @"pfc\5xVIP\5xPlatformSupport\5xPlatformSupport.ph"