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.

DarkBASIC Professional Discussion / How many DLL can you load into a DBPro program

Author
Message
Falelorn
23
Years of Service
User Offline
Joined: 19th Jun 2003
Location: Canada
Posted: 2nd Sep 2003 09:15
err like the Subject line says,
IanM
Retired Moderator
23
Years of Service
User Offline
Joined: 11th Sep 2002
Location: In my moon base
Posted: 2nd Sep 2003 10:26
Load in what way?

If it's using the LOAD DLL you can have up to 255 (despite what it says in the manual).

If it's using Library DLLs and TPC DLLs, then you can have as many as you need.
Falelorn
23
Years of Service
User Offline
Joined: 19th Jun 2003
Location: Canada
Posted: 2nd Sep 2003 11:02
Thanks IanM
Unseen Ghost
23
Years of Service
User Offline
Joined: 2nd Sep 2002
Location: Ohio
Posted: 4th Sep 2003 04:54
Hi,

May I ask what can dll's be used for? Also can I make dll's in visual basic? Are they hard to make?

UnseenGhost
Rob K
Retired Moderator
23
Years of Service
User Offline
Joined: 10th Sep 2002
Location: Surrey, United Kingdom
Posted: 4th Sep 2003 05:03 Edited at: 4th Sep 2003 05:04
DLLs add extra features to DBPro, for example, <apologies for blatant plug> my plugin DLL adds buttons, windows, dialogs and other UI features to DBPro </blatant plug>. TheCodingArea and IanM have also written many other plugins - chech http://www.thecodingarea.co.uk for TCA's plugins.

As for the other questions - no you can't make them in VB - you need C++ / Delphi / PureBASIC or similar, whether or not they are hard to make depends on your ability as a programmer.

SamIAm
23
Years of Service
User Offline
Joined: 14th Sep 2002
Location: Cyberspace
Posted: 4th Sep 2003 06:01
Is a DLL created in PowerBasic OK?
Falelorn
23
Years of Service
User Offline
Joined: 19th Jun 2003
Location: Canada
Posted: 4th Sep 2003 06:19
I thought DLLs created with C++ and Delphi were the only compatible ones with DBPro.
IanM
Retired Moderator
23
Years of Service
User Offline
Joined: 11th Sep 2002
Location: In my moon base
Posted: 4th Sep 2003 09:56
The language that you use to create the DLL doesn't really matter as long as it can create the correct type of DLL.
OSX Using Happy Dude
22
Years of Service
User Offline
Joined: 21st Aug 2003
Location: At home
Posted: 4th Sep 2003 14:51 Edited at: 4th Sep 2003 14:52
However, you cant use Visual Basic apparently...


Avatar & Logo by Indi. Come to the UK DBPro Convention in Chichester
Rob K
Retired Moderator
23
Years of Service
User Offline
Joined: 10th Sep 2002
Location: Surrey, United Kingdom
Posted: 4th Sep 2003 16:49
PowerBASIC is OK I believe.

The reason VB DLLs don't work is because they are not proper, standard DLLs, they are ActiveX controls I think.

OSX Using Happy Dude
22
Years of Service
User Offline
Joined: 21st Aug 2003
Location: At home
Posted: 4th Sep 2003 17:56
Yes, thats correct.


Avatar & Logo by Indi. Come to the UK DBPro Convention in Chichester
Unseen Ghost
23
Years of Service
User Offline
Joined: 2nd Sep 2002
Location: Ohio
Posted: 5th Sep 2003 03:43
Thanks everyone,

I clicked on the www.thecodingarea.co.uk link and it said:
Cannot display page.

UnseenGhost
Shadow Robert
23
Years of Service
User Offline
Joined: 22nd Sep 2002
Location: Hertfordshire, England
Posted: 5th Sep 2003 05:59
You can't use DLLs that use COM+ ... and you can't use Multithreaded DLLs - Lee explained why at one point but my eys kinda glazed over so i couldn't explain why myself.

if you want to create a TPF DLL then you need a language capable of compiling a string table, or atleast adding one later with a resource hacker (bet no one thought of that but it works for PureBasic DLLs)
guess thats about all i wanted to add

Login to post a reply

Server time is: 2026-07-23 14:56:20
Your offset time is: 2026-07-23 14:56:20