MOS API function for read version of MorphOS?
  • MDW
  • Order of the Butterfly
    Order of the Butterfly
    MDW
    Posts: 460 from 2003/7/26
    From: Wroclaw/Poland
    Which system API function allows to read name and version of operating system (somehing like result of use in CLI "version morphos" - "MorphOS 3.12")?
  • »10.11.19 - 20:17
    Profile Visit Website
  • Priest of the Order of the Butterfly
    Priest of the Order of the Butterfly
    BSzili
    Posts: 559 from 2012/6/8
    From: Hungary
    I think this is what you are looking for:
    https://morph.zone/modules/newbb_plus/viewtopic.php?forum=12&topic_id=8842&post_id=95898&viewmode=flat&sortorder=0&showonepost=1
    This is just like television, only you can see much further.
  • »10.11.19 - 20:43
    Profile Visit Website
  • MDW
  • Order of the Butterfly
    Order of the Butterfly
    MDW
    Posts: 460 from 2003/7/26
    From: Wroclaw/Poland
    Quote:

    BSzili wrote:
    I think this is what you are looking for:
    https://morph.zone/modules/newbb_plus/viewtopic.php?forum=12&topic_id=8842&post_id=95898&viewmode=flat&sortorder=0&showonepost=1


    Yes, it is what I need. I don't want hardcoded these names/values in my info struct.
    Thank you very much!

    -------- 1 day later --------

    It works and gets me name and version/revision of operating system. Thank you again!

    [ Edited by MDW 11.11.2019 - 11:34 ]
  • »10.11.19 - 20:52
    Profile Visit Website