newbie question

Just starting out? Need help? Post your questions and find answers here.
BackupUser
PureBasic Guru
PureBasic Guru
Posts: 16777133
Joined: Tue Apr 22, 2003 7:42 pm

Post 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.
BackupUser
PureBasic Guru
PureBasic Guru
Posts: 16777133
Joined: Tue Apr 22, 2003 7:42 pm

Post 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
BackupUser
PureBasic Guru
PureBasic Guru
Posts: 16777133
Joined: Tue Apr 22, 2003 7:42 pm

Post 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.
BackupUser
PureBasic Guru
PureBasic Guru
Posts: 16777133
Joined: Tue Apr 22, 2003 7:42 pm

Post 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)
Post Reply