Page 1 of 1
Can LiveCode work with EXE resources?
Posted: Fri Mar 06, 2015 6:24 pm
by SammaySarkar
I did a search for resource and nothing interesting came up. Sorry if this is redundant.
so with that out of the way,
can LiveCode extract particular resources in exe files -- such as icons, bmp, etc as in the attached screensnippet ?
can LiveCode update particular resources in exe files?
[ed.] like the getresource(), setresource() ... functions, but for windows.

- res.png (4.12 KiB) Viewed 4561 times
ed. or can LiveCode scripts use the Windows API?
Re: Can LiveCode work with EXE resources?
Posted: Fri Mar 06, 2015 7:58 pm
by Klaus
Hi Sammay,
SammaySarkar wrote:...can LiveCode extract particular resources in exe files -- such as icons, bmp, etc as in the attached screensnippet ?
can LiveCode update particular resources in exe files?
[ed.] like the getresource(), setresource() ... functions, but for windows.
theroretically yes, but there is no IDE or whatever for this!
You will need to read the correct binary data from the exe and do whatever needs to be done with them.
So NO would probably be the better answer
SammaySarkar wrote:ed. or can LiveCode scripts use the Windows API?
Yes, you can "do XYZ as VBScript" like this:
...
put fld "the field that contains a VALID VB script" into tScript
do tScript as vbscript
...
Not sure if "vbscript" is the correct term, I'm on a Mac here, but enter this in the message box and see what it returns:
put the alternatelanguages
Best
Klaus
Re: Can LiveCode work with EXE resources?
Posted: Sat Mar 07, 2015 7:12 am
by SammaySarkar
Thanks.
prospects are bleak.
btw yes vbscript is the correct term (and apparently I also have access to XML, jscript, Python AX)
Re: Can LiveCode work with EXE resources?
Posted: Sun Mar 08, 2015 6:54 pm
by paul_gr
SammaySarkar wrote:Thanks.
prospects are bleak.
Livecode is a great IDE if you are doing cross platform projects, although IMO most LC users are working mainly on OSX.
When I am working on a project that will only be used on Windows and requires low level OS access, I don't use Livecode.
Paul