| View previous topic :: View next topic |
| Author |
Message |
mmatica Newbie
Joined: 03 Dec 2004 Posts: 12
|
Posted: Wed Feb 25, 2009 5:24 pm Post subject: PowerBasic DLL |
|
|
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 |
|
 |
Garrett Moderator Team
Joined: 04 Oct 2001 Posts: 2149 Location: A House
|
Posted: Wed Feb 25, 2009 7:03 pm Post subject: |
|
|
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 |
|
 |
mmatica Newbie
Joined: 03 Dec 2004 Posts: 12
|
Posted: Wed Feb 25, 2009 7:52 pm Post subject: |
|
|
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
Mate
|
|
| Back to top |
|
 |
vdsalchemist Admin Team

Joined: 23 Oct 2001 Posts: 1448 Location: Florida, USA
|
Posted: Wed Feb 25, 2009 10:16 pm Post subject: |
|
|
Anyone want to buy me a copy of PowerBasic so I can write a VDS DLL example in that language Just kidding... I wrote the PureBasic example so I will give PowerBasic a shot.
_________________ Home of
Give VDS a new purpose!
 |
|
| Back to top |
|
 |
trapper Contributor


Joined: 28 Jan 2005 Posts: 112 Location: Brisbane, Australia
|
Posted: Thu Feb 26, 2009 2:23 am Post subject: |
|
|
Is the PureBasic example freely available?
_________________ John Trappett |
|
| Back to top |
|
 |
vdsalchemist Admin Team

Joined: 23 Oct 2001 Posts: 1448 Location: Florida, USA
|
|
| Back to top |
|
 |
vdsalchemist Admin Team

Joined: 23 Oct 2001 Posts: 1448 Location: Florida, USA
|
Posted: Thu Feb 26, 2009 3:35 pm Post subject: |
|
|
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 |
|
 |
mmatica Newbie
Joined: 03 Dec 2004 Posts: 12
|
Posted: Sun Apr 19, 2009 8:11 am Post subject: |
|
|
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
| Description: |
|
 Download |
| Filename: |
pbvds-dll.zip |
| Filesize: |
5.94 KB |
| Downloaded: |
1519 Time(s) |
|
|
| Back to top |
|
 |
|