C library to read EXE version from Linux?

后端 未结 5 1876
孤独总比滥情好
孤独总比滥情好 2021-02-08 11:24

Is there a library I can use in Linux that will return the properties of a Windows EXE file that are listed in Explorer\'s Version tab? These are fields like Product Name, Produ

5条回答
  •  -上瘾入骨i
    2021-02-08 11:36

    Install winelib http://www.winehq.org/docs/winelib-guide/index This is port of MS Windows API to others systems, including linux.

    Then use MS Windows API. Like GetFileVersionInfo http://msdn.microsoft.com/en-us/library/windows/desktop/ms647003(v=vs.85).aspx
    Or any other functions.

    I never did it, but I would start with these findings.

    Regarding exe file in memory constraint, can you copy it to RAM disk?

提交回复
热议问题