Sorry your browser is not supported!

You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.

Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.

Author
Message
Ninja
21
Years of Service
User Offline
Joined: 15th Oct 2002
Location:
Posted: 16th Oct 2002 07:14
Is it possible to write DLL's in Visual Basic 6.0 that will work in DarkBasic Pro? I am currently playing with the demo version right now, and if this is possible I will definitely buy this product.

Thanks---
Hubdule
21
Years of Service
User Offline
Joined: 3rd Sep 2002
Location: Gundelsheim
Posted: 16th Oct 2002 09:44
Currently it's not possible to use VB6 DLLs natively in DBPro because VB6 produces ActiveX DLL's only. DBPro currently supports standard windows DLL's but not ActiveX. Maybe it get's implemented later ?

Ninja
21
Years of Service
User Offline
Joined: 15th Oct 2002
Location:
Posted: 16th Oct 2002 15:46
I would have to say that it's a big oversight on Microsoft's part to not make VB 6 capable of creating standard Win dll's. It would be very awesome if the DBPro team could figure out a way to integrate the GUI power of VB6 with their product. VB6 has a lot more interfacing power, because it includes the standard UI components like text components, combo boxes, etc... I find it very difficult to write professional quaility text components in DBPro. It's amazing how something as simple as a text field requires keyboard type rate, editing, mouse selection, etc... And all of that would be free if we could integrate VB6 Gui's...

I guess I could also learn VC++ -- but I don't want to.

Blue Sonic
21
Years of Service
User Offline
Joined: 16th Oct 2002
Location:
Posted: 16th Oct 2002 16:01
Sorry to be thick but what exectly is the difference between Standard Win dlls and ActiveX dlls?

exLRT
21
Years of Service
User Offline
Joined: 30th Aug 2002
Location: Belgium
Posted: 16th Oct 2002 16:03
You're not obliged to learn VC++...you may prefrer learning Delphi!!!

Ulric
ASUS A7M266 - AMD Athlon 1.4GHz - 512MB DDR266 - CreativeLabs GeForce4 Ti4600 - Windows XP Pro SP1
Ratty Rat
21
Years of Service
User Offline
Joined: 24th Sep 2002
Location:
Posted: 16th Oct 2002 21:59
To Ninja - I don`t really think this was an oversight, VB was never (originally) intended to have any low level capabilities (before V4, or possibly 5, it did not even have a proper compiler, it just constructed p-code, which ran through a VB interpreter).
VB is not very fast (certainly compared with C/C++), part of the reason for wanting to write DLL`s for DB is to be able to process data faster than you could in DB code (otherwise you`d write them in DB). VB DLL`s are unlikely to be much, if any, faster than writing the function in DB.

VB has had so much 'tagged on' to it over the years that MicroSoft decided to re-write it from scratch for VB.Net, unfortunately it sounds like they messed it up, from the opinion of most VB users anyway.
Ninja
21
Years of Service
User Offline
Joined: 15th Oct 2002
Location:
Posted: 17th Oct 2002 05:52
The sad thing is, I'm not looking to make DLL's to process data -- I want to make simple GUI's for getting information from users, such as settings and such.

The One Ring
21
Years of Service
User Offline
Joined: 15th Sep 2002
Location: United States
Posted: 17th Oct 2002 07:53
You could use VB to make GUIs for getting settings and such. You could then save your setting to be read by your DBP program.

If you really want to use DLLs and have GUI interfaces in them, might I suggest Delphi.

AMD Athlon 900 768MB DDR
ATI Radeon 64MB DDR All-In-Wonder 7500, ATI XPert 128 16MB
Sound Blaster Audigy Gamer w/FireWire Support
Ratty Rat
21
Years of Service
User Offline
Joined: 24th Sep 2002
Location:
Posted: 17th Oct 2002 12:38
Ninja - Ah yes, that would be useful, its so easy to do those sort of interfaces in VB (well, that was what it was created for).

The One Ring - Do you have experience of Visual C++? As I`m new to both I want to know whether Delphi would get me results quicker than C++, in your opinion.
The One Ring
21
Years of Service
User Offline
Joined: 15th Sep 2002
Location: United States
Posted: 17th Oct 2002 16:18
Yes. I have experience in both C++ and Delphi. For most GUI related operations Delphi produces the quickest results. C++ is certianly a most powerful language, but for results in a hurry, Delphi is hard to beat.

AMD Athlon 900 768MB DDR
ATI Radeon 64MB DDR All-In-Wonder 7500, ATI XPert 128 16MB
Sound Blaster Audigy Gamer w/FireWire Support
Ratty Rat
21
Years of Service
User Offline
Joined: 24th Sep 2002
Location:
Posted: 17th Oct 2002 17:33
Thanks!
GCEclipse
21
Years of Service
User Offline
Joined: 23rd Sep 2002
Location: United Kingdom
Posted: 18th Oct 2002 00:47
You can also use Dlls made in PureBasic. I just thought I'd mention because its a little easier to learn than C++ and Delphi if you're used to BASIC languages.

MushroomHead
21
Years of Service
User Offline
Joined: 26th Aug 2002
Location: United Kingdom
Posted: 18th Oct 2002 01:32
Use a wrapper to access VB using COM objects .. here's an example I posted :-

http://www.realgametools.net/forums/index.php?board=14;action=display;threadid=8247

- Rav.

Login to post a reply

Server time is: 2024-04-25 01:39:57
Your offset time is: 2024-04-25 01:39:57