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 / how did Rob do it?

Author
Message
Three Score
19
Years of Service
User Offline
Joined: 18th Jun 2004
Location: behind you
Posted: 5th Feb 2005 11:14
i am making a dll in c(notice not c++ for whatever reason) not in vb or such and i have no idea how to draw anythign onto the dbpro window so i have ot create new windows how do i draw to the dbpro window?
and i wish i didnt have ot do string table crap but it appears i have to worry about it after most eveyrthign else is coded

my avatar is working for the first time since free-space went down
http://hck83.tophernet.net (things are startign to look up)
TKF15H
20
Years of Service
User Offline
Joined: 20th Jul 2003
Location: Rio de Janeiro
Posted: 5th Feb 2005 18:05
For that you need the interface library, which has been removed from the intarweb.
In the words of a nuclear scientist, "D'OH!"

AphoticVM status: 80% AphoticBasic status: 10%
1tg46
20
Years of Service
User Offline
Joined: 1st Feb 2004
Location: I dont know!
Posted: 5th Feb 2005 23:16
I can't find his interface library anywhere on the web, I googled for over an hour and I could not find it. I could really use the library for my plugin as well.


Click sig for DB Network X
dj chainz
19
Years of Service
User Offline
Joined: 25th Sep 2004
Location: England
Posted: 6th Feb 2005 00:22
every1 wants it back!!!

i hav an old visual c++ version but i need a devc++ one...

I am the lead programmer at red spark studios
I also have a blog on how to make a game enginehttp://dbgame.blogspot.com
http://www.brazilianhotties.tk
Rob K
Retired Moderator
21
Years of Service
User Offline
Joined: 10th Sep 2002
Location: Surrey, United Kingdom
Posted: 6th Feb 2005 00:26
You do not need the interface library. BlueGUI does not use it at all.

I cannot understand the original poster's question. If he could rephrase it then I will try to help.


BlueGUI Windows Plugin
Three Score
19
Years of Service
User Offline
Joined: 18th Jun 2004
Location: behind you
Posted: 6th Feb 2005 02:22
ok how do i make bluegui in c that simple enough

my avatar is working for the first time since free-space went down
http://hck83.tophernet.net (things are startign to look up)
TKF15H
20
Years of Service
User Offline
Joined: 20th Jul 2003
Location: Rio de Janeiro
Posted: 6th Feb 2005 02:24 Edited at: 6th Feb 2005 02:33
[edit] disregard, he posted while I was writing

As far as I understood, he's trying to draw something on the window. For that you need the interface library. Creating widgets doesn't need the interface, but as he says, "how to draw anythign onto the dbpro window" I assume he's not talking about widgets.

AphoticVM status: 80% AphoticBasic status: 10%
Three Score
19
Years of Service
User Offline
Joined: 18th Jun 2004
Location: behind you
Posted: 6th Feb 2005 06:14
ummm what is "interface library"
i have never heard of it

and um i need to draw widgets to the screen not draw like dots and boxes

and i can do this in an exe just cant convert it to a dll

my avatar is working for the first time since free-space went down
http://hck83.tophernet.net (things are startign to look up)
Cryptoman
20
Years of Service
User Offline
Joined: 24th Nov 2003
Location: Utah Mountains
Posted: 6th Feb 2005 14:32
All you need to do is hwnd=call dll (user32,"GetActiveWindow") in your darkbasic program, then pass it to your dll. The harder part is making your dll not hog the cpu when it start its message checking loop. Widgets aren't so bad, but full windows get a little harder to handle that way.


IanM
Retired Moderator
21
Years of Service
User Offline
Joined: 11th Sep 2002
Location: In my moon base
Posted: 7th Feb 2005 01:06
Quote: "what is "interface library""


It's a piece of software I used to provide that allowed you to call almost all of the DBPro commands and a few extras from a C++ plug-in.

I have agreed to stop supplying it, but you may be able to get a copy from someone else.

*** Coming soon - Network Plug-in - Check my site for info ***
For free Plug-ins and source code http://www.matrix1.demon.co.uk
1tg46
20
Years of Service
User Offline
Joined: 1st Feb 2004
Location: I dont know!
Posted: 7th Feb 2005 01:30
Quote: "get a copy from someone else."


Does anyone on the Dark Basic forums have it? If so could you please post it, thanks.


Click sig for DB Network X
Three Score
19
Years of Service
User Offline
Joined: 18th Jun 2004
Location: behind you
Posted: 7th Feb 2005 08:48
ok then how do u write a dll to put a checkbox onto the dbpro window then smart guy (lol)
hmm interface library sounds like darkgamesdk sortof but anyway
yea i think i want it for whatever reaosn so i can add it to my colection of dlls that i never use

my avatar is working for the first time since free-space went down
http://hck83.tophernet.net (things are startign to look up)
TKF15H
20
Years of Service
User Offline
Joined: 20th Jul 2003
Location: Rio de Janeiro
Posted: 7th Feb 2005 08:50
Quote: "you may be able to get a copy from someone else."

so it's ok if we upload it to a webserver? ( of course, credit where credit is due )

AphoticVM status: 80% AphoticBasic status: 10%
Lost in Thought
20
Years of Service
User Offline
Joined: 4th Feb 2004
Location: U.S.A. : Douglas, Georgia
Posted: 7th Feb 2005 10:32
I think people who want it should try to be more discreet about it. If they would put some kind of off-the-forum user details available ... someone may try to help them. Then posting something like "I sure wish I had the interface library, because the licensing on Dark Game SDK is too restrictive to do anything with.", might get someone to send it to them. I would buy Dark Game SDK in a heart beat if they would ease off the licesne restrictions just a bit. Reword it at least.

1tg46
20
Years of Service
User Offline
Joined: 1st Feb 2004
Location: I dont know!
Posted: 8th Feb 2005 04:23
I already own Dark Game SDK, but at the moment it is not working how it should.


Click sig for DB Network X
Kanati2
19
Years of Service
User Offline
Joined: 5th Jan 2005
Location:
Posted: 8th Feb 2005 05:18
"I sure wish I had the interface library, because the licensing on Dark Game SDK is too restrictive to do anything with."
ionstream
19
Years of Service
User Offline
Joined: 4th Jul 2004
Location: Overweb
Posted: 10th Feb 2005 06:00 Edited at: 10th Feb 2005 06:01
"Yes, you do."

You can call GetActiveWindow() within your C++ program.

Also, note that you need to call GetModuleHandle(NULL) for the HINSTANCE parameter in CreateWindow.

Three Score
19
Years of Service
User Offline
Joined: 18th Jun 2004
Location: behind you
Posted: 10th Feb 2005 08:18
yes i know i use it for a ton of windows related things
and what about get backbuffer ptr and get pixel ptr can i use them for anything

my avatar is working for the first time since free-space went down
http://hck83.tophernet.net (things are startign to look up)

Login to post a reply

Server time is: 2024-03-28 22:01:44
Your offset time is: 2024-03-28 22:01:44