RNORadio

Show off your project created with Hollywood
User avatar
jPV
Posts: 750
Joined: Sat Mar 26, 2016 10:44 am
Location: RNO
Contact:

Re: RNORadio

Post by jPV »

NathanH wrote: Thu Feb 12, 2026 7:22 pmI'd be interested to know how you embedded the binary and ran it from within Hollywood. Thanks.
Simply just linking the external program as a file in Hollywood executable with the @FILE preprocessor. And then at the program startup I write the file to a temporary location (which I clean at exit then).

Like this:

Code: Select all

@FILE 2, "path/to/binary"
StringToFile(ReadBytes(2), "T:MyTempDir/binary")
And then use Execute() or Run() to run the temp file from Hollywood.
NathanH
Posts: 142
Joined: Sun Jul 05, 2015 1:29 am
Location: Caldwell, Idaho

Re: RNORadio

Post by NathanH »

Thanks, clever!

NathanH
Post Reply