How to tell the engine version of a Windows standalone?

Mike Bonner bonnmike at gmail.com
Mon Sep 5 11:30:51 EDT 2016


Correction, change it to:    get matchtext(url ("binfile:" &
"path/to/standalone.exe"),tstring,tMatch)
I accidentally dropped a paren.

On Mon, Sep 5, 2016 at 9:30 AM, Mike Bonner <bonnmike at gmail.com> wrote:

> Try this.. (should work in a message box)
>
>  put ".*([0-9]\.[0-9]\.[0-9]).*" into tstring
>    get matchtext(url ("binfile:" & "path/to/standalone.exe",
> tstring,tMatch)
>    put tMatch
>
> Not sure it'll work every time, but it's worked on everything I've tried
> from 4.6.1 to 8.0.1
>
> On Mon, Sep 5, 2016 at 4:09 AM, Ben Rubinstein <benr_mc at cogapp.com> wrote:
>
>> On 04/09/2016 23:19, Colin Holgate wrote:
>>
>>> Open with a hex editor, and search for Win32€€€. One of the two matches
>>> has the LiveCode version following it.
>>>
>>
>> Hi Colin,
>>
>> Thanks for this - looks like an excellent method but AFAICT this only
>> works for more recent versions (i.e. works for LC8, doesn't work for LC6,
>> I'm looking at something like LC3-LC5....!
>>
>> Anyone know a way that works with older versions?
>>
>> (Also thanks Andy and Phil; as well as adding the logo, I updated the
>> logger to include the engine version as well as my build number - some of
>> my other apps have done this for years, alas this one didn't...)
>>
>> Many thanks,
>>
>>
>> Ben
>>
>>
>>
>>
>> _______________________________________________
>> use-livecode mailing list
>> use-livecode at lists.runrev.com
>> Please visit this url to subscribe, unsubscribe and manage your
>> subscription preferences:
>> http://lists.runrev.com/mailman/listinfo/use-livecode
>>
>
>



More information about the use-livecode mailing list