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 / Using allegro to make dlls in for dbp in dev-c++?

Author
Message
Aaron Miller
19
Years of Service
User Offline
Joined: 25th Feb 2006
Playing: osu!
Posted: 2nd Sep 2006 11:36
Is that possible?

If it's not, then does anybody know how to use allegro to make a .dll at all? I know it's possible, but in the dev-pak, it didnt really show how to make a .dll.

One last thing,
does anyone know how to call a dll from c++? If so that would be helpfull.

That's all im asking of the community today. Thank you.

Any help is appreciated.

IanM
Retired Moderator
22
Years of Service
User Offline
Joined: 11th Sep 2002
Location: In my moon base
Posted: 2nd Sep 2006 14:25
I guess that it could be used - you might have a few problems getting the initial hook up into DBPro though.

What did you have in mind?

warship45
20
Years of Service
User Offline
Joined: 24th Jul 2004
Location: uk
Posted: 2nd Sep 2006 17:15
i could not realy tell you how to call a dll from C++ but if u want to use delphi for it i could help you out then!

dbpro plugins
www.0z0.co.uk
Aaron Miller
19
Years of Service
User Offline
Joined: 25th Feb 2006
Playing: osu!
Posted: 3rd Sep 2006 03:19
@IanM
Well, there are 2 things i had in mind, one was to program a dll for irrlicht so i can use proper keyboard input, which would allow me many possibilitys (plus sound, i like sound, when i have volume on anyways). And, the other was to program a drawing dll to do floodfill simply, along with add my GUI to the dll so that i could give that away for free, but without the source. If anyone knows of any sdk that works with dev-c++ and has tutorials or some information on how to make it work with dbp, that would be great Though, i like using allegro and could have other uses for it.

@warship45
About delphi, dont you have to pay for it? And how do you do 3d in delphi anyways?

Thanks all.

ps: If someone just skims through and assumes i dont need anymore help, your wrong, i did not get an answer.

warship45
20
Years of Service
User Offline
Joined: 24th Jul 2004
Location: uk
Posted: 3rd Sep 2006 22:29
yes u have to pay for delphi and to do 3d you just get the driet x compents for it then just use them!!b

dbpro plugins
www.0z0.co.uk
empty
22
Years of Service
User Offline
Joined: 26th Aug 2002
Location: 3 boats down from the candy
Posted: 3rd Sep 2006 22:46
No, you don't have to pay for Delphi. There are free Personal Editions of Delphi 6, 7, and 2005. There's a thread in "Programming Talk" with links. Or better yet you wait a few days for Turbo Delphi.


Play Nice! Play Basic! -- Styx Plug-In for DBPro- Coming September 2006!
warship45
20
Years of Service
User Offline
Joined: 24th Jul 2004
Location: uk
Posted: 4th Sep 2006 00:15
yes but that is not good version of delphi 2006 is the best and the easyest to use also fixed 2005 bugs delphi 7 has the lest number of bugs but not the best gui systerm. so yes the current version of delphi u have to buy and that is thr version u want to get works much better than all the others!!h

dbpro plugins
www.0z0.co.uk
Xarshi
19
Years of Service
User Offline
Joined: 25th Dec 2005
Location: Ohio
Posted: 4th Sep 2006 04:43
@DBUser-No clue how you could make dlls,but I think dx comes with direct input... maybe take a look at that? Anyhow,having irrlicht gui with dbp wouldn't work. Irrlicht makes its own rendering window,so it'd be quite impossible. Unless you wanna have two windows if you wanted to have an inventory,so,it would be quite useless. Thats why I just moved to c++ Its simple enough for me to make a game with!

Working on DBIrr. Done so far : objets,lights,cameras,billboarding. To come: newton game dynamics support,Animation blending with cal3d.
Aaron Miller
19
Years of Service
User Offline
Joined: 25th Feb 2006
Playing: osu!
Posted: 4th Sep 2006 05:11
by gui i meant using the code to write "rect(screen,winx,winy,winx+winw,winy+winh,makecol(200,200,200));" as for irrlicht, im quite aware of it, thanks though.

I apreciate the help, i will try to get delphi, but that still doesnt answer the allegro question, thank you though.

empty
22
Years of Service
User Offline
Joined: 26th Aug 2002
Location: 3 boats down from the candy
Posted: 4th Sep 2006 12:11 Edited at: 4th Sep 2006 12:11
Quote: "yes but that is not good version of delphi 2006 is the best and the easyest to use also fixed 2005 bugs delphi 7 has the lest number of bugs but not the best gui systerm. so yes the current version of delphi u have to buy and that is thr version u want to get works much better than all the others!!h"

While 2005 worked quite well for me (after installing all official and inofficial patches), I still prefer 7 over 2006. Anyway, Turbo Delphi is based on BSD 2006. You can have one profile installed only (either Win32 or .NET). There are some IDE restrictions in the Explorer version too. But it's free.


Play Nice! Play Basic! -- Styx Plug-In for DBPro- Coming September 2006!
Aaron Miller
19
Years of Service
User Offline
Joined: 25th Feb 2006
Playing: osu!
Posted: 4th Sep 2006 12:37
I dont like how they distribute the delphi trial, i will just buy it, right after i get BlueGUI.

Login to post a reply

Server time is: 2025-05-17 23:55:23
Your offset time is: 2025-05-17 23:55:23