How to tell the engine version of a Windows standalone?

Ben Rubinstein benr_mc at cogapp.com
Mon Sep 5 13:13:59 EDT 2016


Thanks Mike - it's already answered my question!

Ben

On 05/09/2016 18:07, Mike Bonner wrote:
> Change it to this..    put ".*([0-9]+\.[0-9]+\.[0-9]+).*" into tstring
>
> for double digit version coverage
>
> On Mon, Sep 5, 2016 at 11:01 AM, Ben Rubinstein <benr_mc at cogapp.com> wrote:
>
>> Blimey Mike, that works!  Thank you.
>>
>> Ben
>>
>> On 05/09/2016 16:30, Mike Bonner wrote:
>>
>>> 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
>>
> _______________________________________________
> 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