forum.vdsworld.com Forum Index forum.vdsworld.com
Visit VDSWORLD.com
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 


Resource file question

 
Post new topic   Reply to topic    forum.vdsworld.com Forum Index -> General Help
View previous topic :: View next topic  
Author Message
Hortalonus
Valued Contributor
Valued Contributor


Joined: 15 Mar 2002
Posts: 344
Location: Western USA

PostPosted: Thu Sep 05, 2002 5:02 pm    Post subject: Resource file question Reply with quote

What types of files have you successfully been able to use in a resource file (other than graphics)?
For example, has anyone ever had any success using dll files packed in a VDS resource file? Just curious.
Back to top
View user's profile Send private message Send e-mail
LiquidCode
Moderator Team


Joined: 05 Dec 2000
Posts: 1753
Location: Space and Time

PostPosted: Thu Sep 05, 2002 5:04 pm    Post subject: Reply with quote

The only files you can used from a resource file are bitmaps and icons.
If you do add other files, they need to be extracted from the resource
file before using them.

_________________
Chris
Http://theblindhouse.com
Back to top
View user's profile Send private message Send e-mail Visit poster's website
Tommy
Admin Team


Joined: 16 Nov 2002
Posts: 746
Location: The Netherlands

PostPosted: Thu Sep 05, 2002 5:09 pm    Post subject: Reply with quote

Chris is right, they need to be extracted first. In order to do this, you could for example
use the VDSINOUT DLL or the FILEIO EXTRACT command of the VDSBIN DLL (part of VDSDLL 3).
Back to top
View user's profile Send private message Send e-mail Visit poster's website
Dr. Dread
Professional Member
Professional Member


Joined: 03 Aug 2001
Posts: 1065
Location: Copenhagen, Denmark

PostPosted: Thu Sep 05, 2002 6:04 pm    Post subject: Reply with quote

Some time ago I posted source code using VDSINOUT.DLL to compile/extract resources (including DLL, GIF, EXE etc.)
to/from a single resource file.

Here it is:
http://www.vdsworld.com/forum/viewtopic.php?t=132

Greetz
Dr. Dread

_________________
~~ Alcohol and calculus don't mix... Don't drink and derive! ~~

String.DLL * advanced string processing
Back to top
View user's profile Send private message
Hortalonus
Valued Contributor
Valued Contributor


Joined: 15 Mar 2002
Posts: 344
Location: Western USA

PostPosted: Thu Sep 05, 2002 8:11 pm    Post subject: Reply with quote

Good to know. Thanks for the replies! Smile
Back to top
View user's profile Send private message Send e-mail
LiquidCode
Moderator Team


Joined: 05 Dec 2000
Posts: 1753
Location: Space and Time

PostPosted: Thu Sep 05, 2002 9:33 pm    Post subject: Reply with quote

Just to let you know, I'm in the process of making a self-extracting
resource file program. You can add any resource you want (even dll files). You just call the exe from your program and the resources are
extracted to the current directory (i.e. same dir as the exe file)with the
filename as a sub dir or the windows temp directory with the filename as
a sub dir.

If you have a SFX-Resource file called Resource.exe that
extracts to the current and you run it in C:\MyProg it will
extract the resourcec to C:\MyProg\Resources.

We'll see how it goes.

_________________
Chris
Http://theblindhouse.com
Back to top
View user's profile Send private message Send e-mail Visit poster's website
marty
Professional Member
Professional Member


Joined: 10 May 2001
Posts: 789

PostPosted: Fri Sep 06, 2002 11:46 am    Post subject: Reply with quote

Hey Chris,

Isnt that like Easy Packets from Tommy already available or maybe you have additional features? Wink

Easy Packets
http://www.vdsworld.com/index.php?page=download&fileid=141
Back to top
View user's profile Send private message Send e-mail Visit poster's website MSN Messenger
LiquidCode
Moderator Team


Joined: 05 Dec 2000
Posts: 1753
Location: Space and Time

PostPosted: Fri Sep 06, 2002 11:52 am    Post subject: Reply with quote

I guess in a way, yes. Mine just extracts to the Current Dir or the
Windows temp dir. It doesn't have as many options. It also will run
an exe file that is named setup.exe, if one exists, within the SFX-Resource.

It's just fun to make as well. Smile I wanted to see if I could make it.

Mine uses a 256 color icon... Very Happy Just picking Tommy... Wink

_________________
Chris
Http://theblindhouse.com
Back to top
View user's profile Send private message Send e-mail Visit poster's website
marty
Professional Member
Professional Member


Joined: 10 May 2001
Posts: 789

PostPosted: Fri Sep 06, 2002 12:00 pm    Post subject: Reply with quote

Ok no problem, just in case you didnt know Wink

256 Color icons....ooooooo... nice.. By the way your interfaces for your little progs...are really nice


Have a good day... Very Happy
Back to top
View user's profile Send private message Send e-mail Visit poster's website MSN Messenger
LiquidCode
Moderator Team


Joined: 05 Dec 2000
Posts: 1753
Location: Space and Time

PostPosted: Fri Sep 06, 2002 12:02 pm    Post subject: Reply with quote

Thanks...Yep...256 colors...I'm moving up in the world! Laughing
_________________
Chris
Http://theblindhouse.com
Back to top
View user's profile Send private message Send e-mail Visit poster's website
Display posts from previous:   
Post new topic   Reply to topic    forum.vdsworld.com Forum Index -> General Help All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You can attach files in this forum
You can download files in this forum

Twitter@vdsworld       RSS

Powered by phpBB © 2001, 2005 phpBB Group