[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: Admin <admin@xxxxxxxxxx>
- Date: Sun, 24 Mar 2024 11:01:17 +0700
- To: user@xxxxxxxxxxxxxxxxxxxxxx
24.03.2024 10:04, T Lee Davidson пишет:
Oh. That's interesting. Can we supply an image for dd this way? Can we monitor the progress?On 3/23/24 19:50, BB wrote: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. bOr: Public Sub Main() Dim Data As Stream Dim pPlay As Process Data = Open "./din-din.wav" For Read pPlay = Exec ["aplay"] For Write Write #pPlay, Read #Data, Lof(Data) End
Dmitry
Re: How to embedded file/sound into executable? | T Lee Davidson <t.lee.davidson@xxxxxxxxx> |
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> |
Re: How to embedded file/sound into executable? | T Lee Davidson <t.lee.davidson@xxxxxxxxx> |