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.

Newcomers DBPro Corner / Show simple way of calling windows dll

Author
Message
HowDo
21
Years of Service
User Offline
Joined: 28th Nov 2002
Location: United Kingdom
Posted: 18th Feb 2005 04:38
Hi all

Can anyone show the basic way of calling a dll in DBPro, I can get so far but then it makes no sence as to what to do next.

Have found a site that tells me what say system32.dll parts do but not how you reach them.

In Space No One can Hear You Scream! (When your comm Line is cut?)
spooky
22
Years of Service
User Offline
Joined: 30th Aug 2002
Location: United Kingdom
Posted: 18th Feb 2005 05:23
Simple code to display resolution of Windows desktop.



Boo!
1tg46
20
Years of Service
User Offline
Joined: 1st Feb 2004
Location: I dont know!
Posted: 18th Feb 2005 07:31
Many commands that are WinAPI can't be called correctly from DBP, so then you can use third party plugins. Such as mine, DarkBASIC Network X (click the sig).


Click sig for DB Network X
NinJA99
19
Years of Service
User Offline
Joined: 21st Jan 2005
Location: Windham, NH
Posted: 19th Feb 2005 21:35
How about DBC?

END TRANSMISSION
Cryptoman
20
Years of Service
User Offline
Joined: 24th Nov 2003
Location: Utah Mountains
Posted: 21st Feb 2005 10:22
You can call any standard dll, or any of the api from within Pro, you don't need dll to call them. There are only a few things you can't do like set hooks, because you can't make a stable callback from within pro.

There is a undocumented command that you can use, but you must first build the structure you are sending and put it in memory.

a=Call Dll X(DLL Number, Function Name, Structure Pointer, Number Of Dwords)

Work your memory right and learn how to move the lowlevel data in and out and you are set to go.


Login to post a reply

Server time is: 2024-11-11 23:49:30
Your offset time is: 2024-11-11 23:49:30