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 / Windows API dlls in DB

Author
Message
Oliver
22
Years of Service
User Offline
Joined: 24th Nov 2002
Location: Switzerland
Posted: 16th Feb 2004 22:14
Hey, I've been playing around with the windows dlls and DB. I've got a number of things to work (i.e. a message box ), though seeing as I've never coded in VB (and all the examples are in VB) I was wonder how you would convert something like this to DB...



Heres my attempt...



...though I'm guessing theres something after the "call dlll" bit.

Thanks for any help,
Oliver
IanM
Retired Moderator
22
Years of Service
User Offline
Joined: 11th Sep 2002
Location: In my moon base
Posted: 16th Feb 2004 23:36
It's about the same in DBPro ...



The idea is that you produce a string of a big enough size and the API call overwrites it with the details

For free Plug-ins, source and the DBPro Interface library for Visual C++ 6 and .NET
http://www.matrix1.demon.co.uk
Supremacy
21
Years of Service
User Offline
Joined: 30th Dec 2003
Location:
Posted: 17th Feb 2004 00:22
hey guys, can anyone give me an exemple who to use a dll to print a sheet of paper containing whats on the screen, like, printing a screen shot of a game

I will make urban chaos 2, ive already concepted the story, its my dream, i wont to go to muky foot
TheCyborg
22
Years of Service
User Offline
Joined: 6th Oct 2002
Location: Denmark
Posted: 17th Feb 2004 10:14
@Mustra Joao:
I think you will get better response if you create a thread of your own.

Member of Tjald - Targeted Joint Addicted Liberation Diplomacy

I am (currently) 42% addicted to Counter-Strike. What about you?
IanM
Retired Moderator
22
Years of Service
User Offline
Joined: 11th Sep 2002
Location: In my moon base
Posted: 17th Feb 2004 14:28
TCA has a plug-in that allows you to print a .bmp file. If you combine that with the SAVE IMAGE command or the SaveBitmap function I have in the CodeBase you can do this.

For free Plug-ins, source and the DBPro Interface library for Visual C++ 6 and .NET
http://www.matrix1.demon.co.uk

Login to post a reply

Server time is: 2025-06-10 05:35:43
Your offset time is: 2025-06-10 05:35:43