[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: How to embedded file/sound into executable?
[Thread Prev] | [Thread Next]
- Subject: Re: How to embedded file/sound into executable?
- From: Jussi Lahtinen <jussi.lahtinen@xxxxxxxxx>
- Date: Sun, 24 Mar 2024 02:14:53 +0200
- To: user@xxxxxxxxxxxxxxxxxxxxxx
> Ah, I just realised. Because you are passing the file path to an > external program (which can't see inside the executable) you need to : > > on startup, copy the file from inside the executable to a Temp directory > > then you can refer to that file in your Exec call. > Yes, this would also work: Dim sFile As String = Temp() Copy "ding-dong-whatever.wav" To sFile Exec ["aplay", sFile ] Wait Or if aplay is picky about the file name extension, then just rename it first. Jussi
How to embedded file/sound into executable? | roberto.premoli@xxxxxxxxxx |
Re: How to embedded file/sound into executable? | T Lee Davidson <t.lee.davidson@xxxxxxxxx> |
Re: How to embedded file/sound into executable? | roberto.premoli@xxxxxxxxxx |
Re: How to embedded file/sound into executable? | BB <adamnt42@xxxxxxxxx> |
Re: How to embedded file/sound into executable? | BB <adamnt42@xxxxxxxxx> |