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 


Can you run a VDS5 EXE from inside another VDS5 EXE?

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


Joined: 05 Feb 2004
Posts: 656
Location: Eastern Indiana

PostPosted: Tue Feb 17, 2004 1:04 am    Post subject: Can you run a VDS5 EXE from inside another VDS5 EXE? Reply with quote

I want to be able to run one or more of my homemade VDS5 utilitys from inside another of my Utilitys - Is this possible?

I allready have been successfull in ADDing the #RESOURCE and SAVERES, so please don't need help with that. I'd just sometimes like to run them from inside, and if they are EXAMPLE INI files, would you be able to edit them while inside. (Thanks in advance)
Back to top
View user's profile Send private message Visit poster's website
Mac
Professional Member
Professional Member


Joined: 08 Jul 2000
Posts: 1585
Location: Oklahoma USA

PostPosted: Tue Feb 17, 2004 1:34 am    Post subject: Reply with quote

You should be able to use RUN or SHELL OPEN commands
on VDS programs just like you can on any other app. Wink

Cheers, Mac Smile

_________________
VDSug.dll does file IO, check/disable menu items,
non-VDS dlls, draw functions and more...
Free download (30k dll size) at:
http://www.vdsworld.com/download.php?id=361
Back to top
View user's profile Send private message Send e-mail
FreezingFire
Admin Team


Joined: 23 Jun 2002
Posts: 3508

PostPosted: Tue Feb 17, 2004 1:35 am    Post subject: Reply with quote

Unfortunately I don't think is possible in any language to do, and if so,
the EXE in question would first have to be extracted to memory etc.,
which is not really running it inside of an executable.

You could use:

Code:
shell open,c:\myexe.exe


to run another EXE of your choice, or simply merge the code together. Smile

_________________
FreezingFire
VDSWORLD.com
Site Admin Team
Back to top
View user's profile Send private message Visit poster's website
vtol
Valued Contributor
Valued Contributor


Joined: 05 Feb 2004
Posts: 656
Location: Eastern Indiana

PostPosted: Tue Feb 17, 2004 1:41 am    Post subject: Reply with quote

Thats what I want, to run it in memory from inside the EXE, that way the program(thats ran in memory from inside another) won't be seen or mistakingly damaged or deleted - etc.
Back to top
View user's profile Send private message Visit poster's website
FreezingFire
Admin Team


Joined: 23 Jun 2002
Posts: 3508

PostPosted: Tue Feb 17, 2004 1:46 am    Post subject: Reply with quote

You can use a program like Alloy to make an integrated executable
which extracts the packed files each time it runs (with the option to
delete after close & extract on next open) so that the files won't be
lost or damaged:

http://www.vdsworld.com/index.php?page=download&fileid=61

_________________
FreezingFire
VDSWORLD.com
Site Admin Team
Back to top
View user's profile Send private message Visit poster's website
CodeScript
Moderator Team


Joined: 08 Jun 2003
Posts: 1060
Location: India

PostPosted: Tue Feb 17, 2004 1:51 am    Post subject: Reply with quote

I don't think that is possible easily as Win32 API has no such options ( I guess for security reasons). I heard there are some tricks to do it - but requires a langauge like C with some help from asm - so to say not within scope of vds.
_________________
Regards
- CodeScript
Arrow Give your application a professional look with the VDSGUI Extension
Back to top
View user's profile Send private message Visit poster's website
vtol
Valued Contributor
Valued Contributor


Joined: 05 Feb 2004
Posts: 656
Location: Eastern Indiana

PostPosted: Tue Feb 17, 2004 2:27 am    Post subject: Reply with quote

Well I've done that without Alloy, I guess the other thing I want is to have just 1 EXE so you don't really need a Program Installer and all those sub folders and or files.
And sometimes you one might have a file(or utility - etc) that they want to protect from hostile activitys for an example.
Back to top
View user's profile Send private message Visit poster's website
vtol
Valued Contributor
Valued Contributor


Joined: 05 Feb 2004
Posts: 656
Location: Eastern Indiana

PostPosted: Tue Feb 17, 2004 2:32 am    Post subject: Reply with quote

Thats what I figured CodeScript, since VDS is a interpreted language, I figured the way it uses memory would be an interpreted method also.
Thanks anyway, just allways wondered if it was posible.
Back to top
View user's profile Send private message Visit poster's website
vtol
Valued Contributor
Valued Contributor


Joined: 05 Feb 2004
Posts: 656
Location: Eastern Indiana

PostPosted: Tue Feb 17, 2004 2:39 am    Post subject: Reply with quote

I guess to answer the INI part of my question, I could just write the INI info to a seperate LIST and externally feed it as needed, but it would only be availible while the program is running, if you didnt want to use a INI file on disk.
Back to top
View user's profile Send private message 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