Search results

  1. D

    API Question How to read BEGIN_<blah> section in cfg?

    Thanks. I actually was asking how to do it in C++, sorry for the confusion. But I figured it out: FILEHANDLE hFile = oapiOpenFile("MyConfig.cfg", FILE_IN, CONFIG); char *line; while (oapiReadScenario_nextline(hFile, line)) { if (strcmp(line, "BEGIN_MYTAG") == 0) {...
  2. D

    API Question How to read BEGIN_<blah> section in cfg?

    Does anyone knows how to read/write section in the CFG file that surrounded with: BEGIN_<name> .... END_<name> tags?
Back
Top