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 


Creating compatible VDS DLLs
Goto page Previous  1, 2
 
Post new topic   Reply to topic    forum.vdsworld.com Forum Index -> General Help
View previous topic :: View next topic  
Author Message
vdsalchemist
Admin Team


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

PostPosted: Sun Feb 04, 2007 12:01 am    Post subject: Reply with quote

Garrett,
I had written you another version of this template that showed an implementation of the NextParam procedure. If you can find it can you post that one for us?

_________________
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
Garrett
Moderator Team


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

PostPosted: Sun Feb 04, 2007 4:15 am    Post subject: Reply with quote

I'll see if can dig that up.
_________________
'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
PGWARE
Web Host


Joined: 29 Dec 2001
Posts: 1567

PostPosted: Mon Feb 05, 2007 8:14 am    Post subject: Reply with quote

Estas, vdsipp also support NTP time servers Smile, maybe you did not know? It allows querying of time servers, as well as code to run as a NTP server. Obviously your dll will probably be much smaller than vdsipp so that's a nice plus for anyone needing to distribute smaller dlls.

Definately a nice job though, and it's good to see another language can build vds dll's.
Back to top
View user's profile Send private message
vdsalchemist
Admin Team


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

PostPosted: Mon Feb 05, 2007 3:02 pm    Post subject: Reply with quote

Hi All,
Technically speaking any language that is able to build a 32bit Windows DLL and can export the functions using the CDECL calling convention should work with VDS. However languages handle strings so differently that usually I find I spend most of my time trying to get those languages to work with the strings properly.
Just to let everyone know I have offered Commercial Research several of my code translations of the original Delphi VDS DLL template to add to their DLL SDK but I have not heard from them about it. I do the translations when ever asked by others and if the target language can actually build such DLL's. There are a couple of other languages I will probably tackle at some point and those are PowerBasic and Euphoria. If any of you would like a translation done please ask and if I have time I will try to build it for you. I think this PureBasic translation only took me a few hours and most of that was reading the PureBasic Help file.

_________________
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
Estas
Contributor
Contributor


Joined: 31 Jan 2004
Posts: 66
Location: Germany

PostPosted: Mon Feb 05, 2007 7:09 pm    Post subject: Reply with quote

Thanks for the offer - as far as I am concerned, I just wanted to take a closer look into building DLLs for VDS as a sort of learning experience.
I didn't mean to interfere with PGWare's DLLs and certainly didn't want to throw a competing alternative into this forum - I am sorry for that - I just overlooked the fact that a ntp server function was already created. Since I had developed an ntp time server program with PureBasic a while ago for my own personal use, I thought that VDS users might be in need of a function that retrieves the current time and, more out of curiousity, I felt an urge to create a DLL for it. And, additionally I wanted to give the developer forum a new momentum and VDS users the feeling back that there are others out there that are still very much interested in VDS. There hasn't been much activity lately and I would hate to see that users interested in VDS lose their interest in a good programming language because of a lack of participation.

Greetings Mike

_________________
Greetings to all the folks back home in the States. A friendly "hola -como estas" to all my friends from Spain and Greece.
Back to top
View user's profile Send private message Send e-mail Visit poster's website
PGWARE
Web Host


Joined: 29 Dec 2001
Posts: 1567

PostPosted: Mon Feb 05, 2007 7:35 pm    Post subject: Reply with quote

Hey Estas,

Maybe I worded my last post a little badly. I'm not upset or angry that you created an NTP dll Smile I figured you may not have known a dll already exists which does NTP thus no reason to recreate the wheel and spend time on something which you may othewrise not have needed to spend time on Smile

But it's definately a good exercise to learn to program a dll and sharing it is something that is always encouraged here at vdsworld. Keep up the good work.
Back to top
View user's profile Send private message
Estas
Contributor
Contributor


Joined: 31 Jan 2004
Posts: 66
Location: Germany

PostPosted: Mon Feb 05, 2007 7:46 pm    Post subject: Reply with quote

Thanks - well I guess that settles it - lol- Very Happy
_________________
Greetings to all the folks back home in the States. A friendly "hola -como estas" to all my friends from Spain and Greece.
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
Goto page Previous  1, 2
Page 2 of 2

 
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