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 


PowerBasic DLL

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


Joined: 03 Dec 2004
Posts: 12

PostPosted: Wed Feb 25, 2009 5:24 pm    Post subject: PowerBasic DLL Reply with quote

Does anybody know where could I find a simple but complete example
of a PowerBasic program which compiles into a DLL to be used by a VDS5/6 script?
(similar to the Delphi example provided by the producer).

Thank you,

Mate
Back to top
View user's profile Send private message
Garrett
Moderator Team


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

PostPosted: Wed Feb 25, 2009 7:03 pm    Post subject: Reply with quote

I don't believe we've ever had a PowerBasic developer in our ranks here. I know we've got a PureBasic example, but I doubt you'll find a PowerBasic example.

But! If you're familiar enough with PureBasic, I can get the PureBasic example I have that someone made for me and pass it on to you, so you can convert it over to PowerBasic.

_________________
'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
mmatica
Newbie


Joined: 03 Dec 2004
Posts: 12

PostPosted: Wed Feb 25, 2009 7:52 pm    Post subject: Reply with quote

Thank you Garrett for your answer.
I found myself a PureBasic example on the net, but unfortunately the syntax is rather different
and I was hoping to find the easiest way.
Probably I will have to start with the "trial & error" method Sad

Mate
Back to top
View user's profile Send private message
vdsalchemist
Admin Team


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

PostPosted: Wed Feb 25, 2009 10:16 pm    Post subject: Reply with quote

Anyone want to buy me a copy of PowerBasic so I can write a VDS DLL example in that language Wink Just kidding... I wrote the PureBasic example so I will give PowerBasic a shot.
_________________
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
trapper
Contributor
Contributor


Joined: 28 Jan 2005
Posts: 112
Location: Brisbane, Australia

PostPosted: Thu Feb 26, 2009 2:23 am    Post subject: Reply with quote

Is the PureBasic example freely available?
_________________
John Trappett
Back to top
View user's profile Send private message
vdsalchemist
Admin Team


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

PostPosted: Thu Feb 26, 2009 3:18 pm    Post subject: Reply with quote

trapper,
You can download my PureBasic example from here http://www.vdsworld.com/search.php?view_mode=fileinfo&file_id=501

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


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

PostPosted: Thu Feb 26, 2009 3:35 pm    Post subject: Reply with quote

Also just a thought but if you have VDS and GadgetX you should be able to achieve the same results as you could writting a DLL with purebasic or powerbasic. When I was developing GadgetX I looked at both those languages to see how they did things and many of my demos were based on user code from those languages and others such as RapidQ, Euphoria and others that were popular at that time. BTW I started writting Gadget almost 2 years prior to purebasic being on the market so no the name Gadget did not come from that language.
_________________
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
mmatica
Newbie


Joined: 03 Dec 2004
Posts: 12

PostPosted: Sun Apr 19, 2009 8:11 am    Post subject: Reply with quote

Having some spare time I finally succeeded to convert
the Delphi DLL example provided by the producer into PowerBasic.
Note that the PB DLLs are small and fast.
For those interested, I attach the source of the DLL and the
small VDS demo.

Mate



pbvds-dll.zip
 Description:

Download
 Filename:  pbvds-dll.zip
 Filesize:  5.94 KB
 Downloaded:  1519 Time(s)

Back to top
View user's profile Send private message
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