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 / making a dll in c++, help plz

Author
Message
Vai mamar na pila
20
Years of Service
User Offline
Joined: 10th Nov 2004
Location: Behind Your Behind
Posted: 8th Jan 2005 02:04
is it easy ? so, i can easaly do a funtion called "gimme_plus" that just as a parameter for input, like gimme_plus(n), that returns the number multypliade by 2, is thsi hard to do ? how could i do it ? could someone post some c++ code that would do this ? plz
TKF15H
21
Years of Service
User Offline
Joined: 20th Jul 2003
Location: Rio de Janeiro
Posted: 8th Jan 2005 06:10

what compiler do you have? MSVC++ or Dev?
if you have MSVC++, it's really pretty straight-forward. Just click New and select Dynamic Link Library. Then tell pick a simple dll project. It will make a simple DLL that shows how to do whatever you need.


Random 69
20
Years of Service
User Offline
Joined: 24th Aug 2004
Location: Marshmellowland
Posted: 8th Jan 2005 06:21
U KILLED SANTA you basterd

I made a extra security function for windows Ask me for it.

I can disable ctrl alt delete windows key and alt dab Ask me for dll and code 5 lines of code and dll
TKF15H
21
Years of Service
User Offline
Joined: 20th Jul 2003
Location: Rio de Janeiro
Posted: 8th Jan 2005 06:32
That's not me. I don't have legs. Besides, the fish bowl I live in would freeze in the north pole.


Vai mamar na pila
20
Years of Service
User Offline
Joined: 10th Nov 2004
Location: Behind Your Behind
Posted: 8th Jan 2005 07:34
yep im using msvc++, can u post some code for me to compile in an empty dll, and then call it in darkbasic and retrive a value form int, like a number, and display it in dbp ?
TKF15H
21
Years of Service
User Offline
Joined: 20th Jul 2003
Location: Rio de Janeiro
Posted: 8th Jan 2005 09:06
If you want to call it from dbp, I suggest you get the plugin SDK. I don't remember exactly where I got it, but searching around the site shouldn't be hard.


dj chainz
20
Years of Service
User Offline
Joined: 25th Sep 2004
Location: England
Posted: 11th Jan 2005 01:12
Its under the documentation section if u press F1 in DBPro. Tells u how.

I am the lead programmer at red spark studios
I also have a blog on how to make a game engine
http://www.dbgame.blogspot.com

Login to post a reply

Server time is: 2024-11-21 14:15:58
Your offset time is: 2024-11-21 14:15:58