Page 1 of 1
Posted: Fri Apr 26, 2002 6:44 pm
by BackupUser
Restored from previous forum. Originally posted by myetter.
with visual basic there was a facility to include icons and other things with the exe file - i think it is the resource compiler? is there an equivalent for pure basic? also, what are "residents"? thanks - mike.
i'm too sexy for my cat.
Posted: Fri Apr 26, 2002 9:14 pm
by BackupUser
Restored from previous forum. Originally posted by PB.
with visual basic there was a facility to include icons and other things with the exe file - i think it is the resource compiler? is there an equivalent for pure basic?
I think I read that a future version of PureBasic will do it, but for now you
can use the example from the URL below to include a binary file and then extract
it back to disk at runtime for reading (but probably with a performance hit if
you do it with very large files):
viewtopic.php?t=307
PB - Registered PureBasic Coder
Edited by - PB on 26 April 2002 22:18:39
Posted: Fri Apr 26, 2002 10:56 pm
by BackupUser
Restored from previous forum. Originally posted by myetter.
thanks, pb, i'll give it a try.
with visual basic there was a facility to include icons and other things with the exe file - i think it is the resource compiler? is there an equivalent for pure basic?
[/quote]
I think I read that a future version of PureBasic will do it, but for now you
can use the example from the URL below to include a binary file and then extract
it back to disk at runtime for reading (but probably with a performance hit if
you do it with very large files):
viewtopic.php?t=307
PB - Registered PureBasic Coder
Edited by - PB on 26 April 2002 22:18:39
[/quote]
i'm too sexy for my cat.
Posted: Sat Apr 27, 2002 6:20 am
by BackupUser
Restored from previous forum. Originally posted by Danilo.
If you want to include Sound, Sprites and Images
in your .exe -> there are special commands to do that.
Look for CatchSound(), CatchJPEGSprite()
( and hopefully CatchImage() in v3.1+ )
cya,
...Danilo
(registered PureBasic user)