Re: [Factor-talk] Executable version information

2019-06-18 Thread Alexander Ilin
Well, I surely didn't mean to dig THAT deep! : )) Here's the code that works for me. Please have a look and see if I missed something. I'm out of my comfort zone dealing with the aliens, always afraid of leaking memory, etc.Also, is there an elegant way to replace the tail of multiple `] [ f ] if`?

Re: [Factor-talk] Executable version information

2019-06-18 Thread John Benediktsson
I don't think so, but that'd be a cool thing to add! https://docs.microsoft.com/en-us/windows/desktop/debug/pe-format On Tue, Jun 18, 2019 at 10:37 AM Alexander Ilin wrote: > Hello! > > Is there a vocab in Factor to extract the Version Information resource > from an executable file on Windows

[Factor-talk] Executable version information

2019-06-18 Thread Alexander Ilin
Hello! Is there a vocab in Factor to extract the Version Information resource from an executable file on Windows? I'm writing an app that needs to know the "FileVersion" string from the "StringFileInfo" block. ---=--- Александр ___ Factor