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.

DLL Talk / Make a dll with dbp?

Author
Message
TRIGEN48
15
Years of Service
User Offline
Joined: 7th Aug 2008
Location: LOST IN CYBER SPACE
Posted: 21st Oct 2008 19:28
is it possible to do this.
IanM
Retired Moderator
21
Years of Service
User Offline
Joined: 11th Sep 2002
Location: In my moon base
Posted: 21st Oct 2008 19:31
No - DBPro produces executable files only.

TRIGEN48
15
Years of Service
User Offline
Joined: 7th Aug 2008
Location: LOST IN CYBER SPACE
Posted: 21st Oct 2008 19:37
oh what may i need to make dlls.anything at all
Ed222
16
Years of Service
User Offline
Joined: 3rd Nov 2007
Location: Calgary
Posted: 21st Oct 2008 21:23
c++

IanM
Retired Moderator
21
Years of Service
User Offline
Joined: 11th Sep 2002
Location: In my moon base
Posted: 22nd Oct 2008 00:57
Any language that can produce standard (not COM or .NET) DLLs and attach string resources to them.

TRIGEN48
15
Years of Service
User Offline
Joined: 7th Aug 2008
Location: LOST IN CYBER SPACE
Posted: 22nd Oct 2008 09:02
ok.what program do you suggest i use.for making dlls i mean
Sergey K
20
Years of Service
User Offline
Joined: 4th Jan 2004
Location:
Posted: 23rd Oct 2008 02:59
i suggest delphi. more users for delphi.

Get DBP stuff here! - (plugins/models/scripts and more!)
IanM
Retired Moderator
21
Years of Service
User Offline
Joined: 11th Sep 2002
Location: In my moon base
Posted: 23rd Oct 2008 15:42
Well, the languages most used are Delphi of course , PureBASIC if you want to stay with a BASIC language and C++ (which is what I use for my many plug-ins).

Despite what I said in my previous post, you can also use .NET languages too, but you'll need to convert the .NET DLL to a standard DLL - it will still need the .NET runtime to execute though.

TRIGEN48
15
Years of Service
User Offline
Joined: 7th Aug 2008
Location: LOST IN CYBER SPACE
Posted: 23rd Oct 2008 19:29
is there a pure-plugin trial
IanM
Retired Moderator
21
Years of Service
User Offline
Joined: 11th Sep 2002
Location: In my moon base
Posted: 23rd Oct 2008 21:17
There's no trial, but go to the product page for it and there's a sample that you can download and look at.

TRIGEN48
15
Years of Service
User Offline
Joined: 7th Aug 2008
Location: LOST IN CYBER SPACE
Posted: 24th Oct 2008 22:37
Can i also use visual c++ or visual studio or even visual basic
Hayer
18
Years of Service
User Offline
Joined: 4th Nov 2005
Location: Norway
Posted: 25th Oct 2008 00:18
You can use Visual C++ , C# and VB, but as IanM said,
Quote: "you can also use .NET languages too, but you'll need to convert the .NET DLL to a standard DLL - it will still need the .NET runtime to execute though."


TRIGEN48
15
Years of Service
User Offline
Joined: 7th Aug 2008
Location: LOST IN CYBER SPACE
Posted: 10th Nov 2008 17:27
Hey there will in vc++ i made a class project than when i said build it made a .dll file as the output. will it be able to work with dbp
Diggsey
17
Years of Service
User Offline
Joined: 24th Apr 2006
Location: On this web page.
Posted: 10th Nov 2008 17:58
Well you would need to actually write code in it, and create a string table Once you have done that it will work.

[b]Yuor signutare was aresed by a deslyxic mud...
BOX2D V2 HAS HELP FILES! AND A WIKI!
TRIGEN48
15
Years of Service
User Offline
Joined: 7th Aug 2008
Location: LOST IN CYBER SPACE
Posted: 10th Nov 2008 21:08
how would i do that coz i wana know dbp deeply and how it works.so i need to know how to make a dll for dbp in visual C++
Diggsey
17
Years of Service
User Offline
Joined: 24th Apr 2006
Location: On this web page.
Posted: 11th Nov 2008 19:46
Well, every command in DBPro is a function in an external dll. The DBPro compiler converts source code into some machine code containing function calls to the different dlls. It knows which command goes to each .dll because each .dll has a string table (basically a collection of strings) which map the command name to a function in the dll.

DBPro looks for user dlls in the DBP Root->Compiler->plugins-user directory, so that is where you should put your finished plugin.

There is a lot of information needed to create a dll, and this can be found in the DBPro help files under 'Technical Documents'.

[b]Yuor signutare was aresed by a deslyxic mud...
BOX2D V2 HAS HELP FILES! AND A WIKI!
Ashingda 27
16
Years of Service
User Offline
Joined: 15th Feb 2008
Location:
Posted: 29th Jan 2009 01:44
Quote: "DBPro help files under 'Technical Documents'"

Where exactly is that, I cannot locate it even with the search. Is it supose to be in my DBPro directory?
Slayer93
19
Years of Service
User Offline
Joined: 5th Aug 2004
Location: I wish I knew
Posted: 29th Jan 2009 02:05
Quote: "Where exactly is that, I cannot locate it even with the search. Is it supose to be in my DBPro directory? "


Open it from DBP, its in the dbp help files main menu(last option).

Ashingda 27
16
Years of Service
User Offline
Joined: 15th Feb 2008
Location:
Posted: 29th Jan 2009 03:44
Ahh thanks Slayer, it's well hidden from a noob's eyes.

Login to post a reply

Server time is: 2024-04-16 11:44:46
Your offset time is: 2024-04-16 11:44:46