Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Ressource in macro, not exe
#2
In Resources dialog:
Click the Add link and import the exe file.
Click the imported exe link and select menu item Insert name in code -> String or comments.
It inserts code like this:
Code:
Copy      Help
;"resource:<Macro274>csc.exe"
You can remove the <Macro274> part if the resource belongs to the same macro.

Many QM file functions support such strings. For example, use str.getfile to get file data:

Code:
Copy      Help
str s
;get exe file data from macro resources
s.getfile("resource:csc.exe")
;save as file
s.setfile("$temp$\csc.exe")


Messages In This Thread

Forum Jump:


Users browsing this thread: 1 Guest(s)