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 


Running a dsu independant

 
Post new topic   Reply to topic    forum.vdsworld.com Forum Index -> Advanced Wish List
View previous topic :: View next topic  
Author Message
Vic D'Elfant
Past Contributor
Past Contributor


Joined: 26 Jun 2002
Posts: 673
Location: The Netherlands

PostPosted: Mon Sep 29, 2003 8:38 am    Post subject: Running a dsu independant Reply with quote

Another thing I would like to see is that a dsu could stay working (in a loop or whatever), without the main script freezes.

This would be very nice if you use a loop in the dsu that blends a dialog without having the main script paused, for example.

Greetings,
Vic

_________________
phpBB Development Team
Back to top
View user's profile Send private message Visit poster's website
Skit3000
Admin Team


Joined: 11 May 2002
Posts: 2166
Location: The Netherlands

PostPosted: Mon Sep 29, 2003 12:50 pm    Post subject: Reply with quote

You can do this by creating a second program, which communicates with the first program by registry or something. I don't think you can create a second loop, because VDS reads a file line by line...
_________________
[ Add autocomplete functionality to your VDS IDE windows! ]
Voor Nederlandse beginners met VDS: bekijk ook eens deze tutorial!
Back to top
View user's profile Send private message
vdsalchemist
Admin Team


Joined: 23 Oct 2001
Posts: 1448
Location: Florida, USA

PostPosted: Mon Sep 29, 2003 1:47 pm    Post subject: Reply with quote

Hi All,
It sounds like Vic is wanting "threads" Wink Well the only thing I can say here is good luck. You are better off doing what Skit suggested.

_________________
Home of

Give VDS a new purpose!
Back to top
View user's profile Send private message Visit poster's website AIM Address Yahoo Messenger MSN Messenger
FreezingFire
Admin Team


Joined: 23 Jun 2002
Posts: 3508

PostPosted: Mon Sep 29, 2003 7:18 pm    Post subject: Reply with quote

Threads would be cool to have in VDS someday. Smile
_________________
FreezingFire
VDSWORLD.com
Site Admin Team
Back to top
View user's profile Send private message Visit poster's website
Garrett
Moderator Team


Joined: 04 Oct 2001
Posts: 2149
Location: A House

PostPosted: Mon Sep 29, 2003 8:22 pm    Post subject: Reply with quote

Threads would be outstanding!

-Garrett

_________________
'What you do not want done to yourself, do not do to others.' - Confucius (550 b.c. to 479 b.c.)
Back to top
View user's profile Send private message
Vic D'Elfant
Past Contributor
Past Contributor


Joined: 26 Jun 2002
Posts: 673
Location: The Netherlands

PostPosted: Tue Sep 30, 2003 7:22 am    Post subject: Reply with quote

And the possibility to create plugin-dsus (not compiled with the exe) combined with threads would be even better Very Happy

Vic

_________________
phpBB Development 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 Sep 30, 2003 7:33 am    Post subject: Reply with quote

Hi Vic
Good Luck Wink Smile

_________________
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
Skit3000
Admin Team


Joined: 11 May 2002
Posts: 2166
Location: The Netherlands

PostPosted: Tue Sep 30, 2003 1:24 pm    Post subject: Reply with quote

Vic wrote:
And the possibility to create plugin-dsus (not compiled with the exe) combined with threads would be even better Very Happy


I don't think Commercial Research will ever make such a thing, because people can make their own compiler(s) that way... The only thing to do this is to make your own interpreter with VDS...

_________________
[ Add autocomplete functionality to your VDS IDE windows! ]
Voor Nederlandse beginners met VDS: bekijk ook eens deze tutorial!
Back to top
View user's profile Send private message
PGWARE
Web Host


Joined: 29 Dec 2001
Posts: 1562

PostPosted: Tue Sep 30, 2003 1:57 pm    Post subject: Reply with quote

Actually I think CR/SADE were planning on having the ability for VDS 5 to create dll's (using vds syntax) as well. If it were an actual dll I could see this easily being able to run in it's own thread.
Back to top
View user's profile Send private message
LiquidCode
Moderator Team


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

PostPosted: Tue Sep 30, 2003 1:58 pm    Post subject: Reply with quote

Dlls with VDS, That would great!
_________________
Chris
Http://theblindhouse.com
Back to top
View user's profile Send private message Send e-mail Visit poster's website
CodeScript
Moderator Team


Joined: 08 Jun 2003
Posts: 1060
Location: India

PostPosted: Tue Sep 30, 2003 2:05 pm    Post subject: Reply with quote

I think that has been (p)reserved for VDS 6. I guess it is an interpreted script dll using VDS runtime like a VB activex dll rather than being complied to machine code ?? Even then it would have the ability to run as a seperate thread I suppose.
_________________
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
jules
Professional Member
Professional Member


Joined: 14 Sep 2001
Posts: 1043
Location: Cumbria, UK

PostPosted: Tue Sep 30, 2003 3:30 pm    Post subject: Reply with quote

This is not as straightforward is it might seem, because I guess everyone has different ideas of what they want to do in a thread. For example, for my mail server I'd like to be able to spawn a section of code in a separate thread, so that I can service multiple clients. There's no really satisfactory way to do that at the moment (at least, I can't think of one.) But I don't really want much interaction between the threads and the main process, except perhaps a return value when they finish.

Other people may want their threads to update stuff in real time, which is a lot more complicated. Actually I did have a SPAWN command implemented in VDS 5 but there was a lot of conflicts with things like dialogs and events, use of extensions and so on, so it just proved that the whole implementation needed a lot more thinking through than there was time to do for VDS 5. But it seems possible, which makes it a fair chance that such a feature could appear in VDS 6.

_________________
The Tech Pro
www.tech-pro.net
Back to top
View user's profile Send private message Visit poster's website
vdsalchemist
Admin Team


Joined: 23 Oct 2001
Posts: 1448
Location: Florida, USA

PostPosted: Tue Jul 08, 2008 8:31 pm    Post subject: Reply with quote

Hey I just seen this post Jules... This is what I am trying to achieve at the moment from a DLL. However I am still running into logic road blocks trying to build a self contained VDS interpreter but when I get past this road block we will be able to have simple sub-routines that can be executed in a separate thread with hopefully an event to tell you when you can pick up the return value of the sub-routine.

I think if there is ever going to be another version of VDS there should be this simple scenario that Jules has outlined here. It is better than nothing. also it would be nice to pass the thread sub-routine a single parameter/argument if that could be possible.
Back to top
View user's profile Send private message Visit poster's website AIM Address Yahoo Messenger MSN Messenger
Display posts from previous:   
Post new topic   Reply to topic    forum.vdsworld.com Forum Index -> Advanced Wish List 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