incbin is still fuzzy
BlitzMax Forums/BlitzMax Programming/incbin is still fuzzy
| ||
Trying to output an incbinned .exe, so far all the things I've tried the read stream is always null..IncBin "in.exe" Local str_grabber:TStream = ReadStream("incbin::in.exe") Local str_grsize:Int = IncBinLen("in.exe") Local stw_grabber:TStream = WriteFile("out.exe") CopyStream(str_grabber, stw_grabber, str_grsize) str_grabber.Close() stw_grabber.Close() EDIT: I also tried using read/write bytes - no luck there either, str_grabber is still always null. Tried Readfile("incbin::in.exe") as well. |
| ||
If you are using Framework, you will need to Import BRL.RamStream :-) |
| ||
Doh! :/ ty. |
| ||
Highly recommended behavior: don't touch framework till you are finished. Once you are finished, use the Framework assistant |