Code: Select all
DataSection
myinstaller:
IncludeBinary "C:\myinstaller.zip"
EndDataSection
Code: Select all
DataSection
myinstaller:
IncludeBinary "C:\myinstaller.zip"
EndDataSection
Yep:jacdelad wrote: Tue Oct 17, 2023 9:38 amIf I include them one after another, without label between, do I get the whole file again?
Code: Select all
OpenWindow(0,400,200,0,0,"test",#PB_Window_SystemMenu)
i=CatchImage(0,?image_start,?image_end-?image_start)
ImageGadget(0,0,0,0,0,ImageID(0))
ResizeWindow(0,#PB_Ignore,#PB_Ignore,ImageWidth(0),ImageHeight(0))
Repeat : Until WaitWindowEvent()=#PB_Event_CloseWindow
End
DataSection
image_start:
IncludeBinary "1of2.bmp"
IncludeBinary "2of2.bmp"
image_end:
EndDataSection
BarryG wrote: Tue Oct 17, 2023 10:06 amYep:jacdelad wrote: Tue Oct 17, 2023 9:38 amIf I include them one after another, without label between, do I get the whole file again?
Source images (valid for 6 days, but link saved in the Wayback Machine) -> https://filebin.net/cjxazfq4hy0gdvmvCode: Select all
OpenWindow(0,400,200,0,0,"test",#PB_Window_SystemMenu) i=CatchImage(0,?image_start,?image_end-?image_start) ImageGadget(0,0,0,0,0,ImageID(0)) ResizeWindow(0,#PB_Ignore,#PB_Ignore,ImageWidth(0),ImageHeight(0)) Repeat : Until WaitWindowEvent()=#PB_Event_CloseWindow End DataSection image_start: IncludeBinary "1of2.bmp" IncludeBinary "2of2.bmp" image_end: EndDataSection
Note: The source images are just the PureBasic logo image that I cut in half in a hex editor.
Code: Select all
Datasection
movie_start:
IncludeBinary "1_20.vob"
IncludeBinary "2_20.vob"
IncludeBinary "3_20.vob"
IncludeBinary "4_20.vob"
IncludeBinary "5_20.vob"
IncludeBinary "6_20.vob"
IncludeBinary "7_20.vob"
IncludeBinary "8_20.vob"
IncludeBinary "9_20.vob"
IncludeBinary "10_20.vob"
IncludeBinary "11_20.vob"
IncludeBinary "12_20.vob"
IncludeBinary "13_20.vob"
IncludeBinary "14_20.vob"
IncludeBinary "15_20.vob"
IncludeBinary "16_20.vob"
IncludeBinary "17_20.vob"
IncludeBinary "18_20.vob"
IncludeBinary "19_20.vob"
IncludeBinary "20_20.vob"
movie_end:
EndDatasection