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 / Can I use the kernel32.dll calls my dbpro program?!

Author
Message
IceBird
22
Years of Service
User Offline
Joined: 11th Jan 2003
Location: Sweden
Posted: 14th Jan 2003 15:17
Can I use the kernel32.dll calls my dbpro program?!
For example if I wan't a game thats only runs frpm the CD I burned it to I want to use the api call "getdrivetypeA" and "getfiletypeA".. can I do such things with Dbpro.. I would be very pleaed if anyone could give me a code snippet about this? =)
/IceBird
Hubdule
22
Years of Service
User Offline
Joined: 3rd Sep 2002
Location: Gundelsheim
Posted: 14th Jan 2003 15:47
Yes you can

Use ... LOAD DLL ... and CALL DLL stuff ... have a look at the examples ...

IceBird
22
Years of Service
User Offline
Joined: 11th Jan 2003
Location: Sweden
Posted: 14th Jan 2003 16:11
Thats what I thought too...
...yes but the calling from that TestDLL.dll isn't the same as calling from kernel32.dll... could YOU please give me an example from an api call from the kernel32.dll in a code snippet
/IceBird

------------------------------------------------
Someone is watching you...... And it isn't ME!
------------------------------------------------
IceBird
22
Years of Service
User Offline
Joined: 11th Jan 2003
Location: Sweden
Posted: 14th Jan 2003 16:12
PS. For an examlple the "getdrivetypa" call ? =)
/IceBird

------------------------------------------------
Someone is watching you...... And it isn't ME!
------------------------------------------------
Hubdule
22
Years of Service
User Offline
Joined: 3rd Sep 2002
Location: Gundelsheim
Posted: 14th Jan 2003 17:09
Look into the other thread ... source is there ...

IceBird
22
Years of Service
User Offline
Joined: 11th Jan 2003
Location: Sweden
Posted: 14th Jan 2003 17:22
Thanks

------------------------------------------------
Someone is watching you...... And it isn't ME!
------------------------------------------------

Login to post a reply

Server time is: 2025-05-18 21:30:50
Your offset time is: 2025-05-18 21:30:50