Driver on PureBasic
-
- Addict
- Posts: 1518
- Joined: Wed Nov 12, 2008 5:01 pm
- Location: Russia
Driver on PureBasic
Can I do it? Really? How?
- Kaeru Gaman
- Addict
- Posts: 4826
- Joined: Sun Mar 19, 2006 1:57 pm
- Location: Germany
-
- Addict
- Posts: 1518
- Joined: Wed Nov 12, 2008 5:01 pm
- Location: Russia
-
- Addict
- Posts: 1518
- Joined: Wed Nov 12, 2008 5:01 pm
- Location: Russia
I am pretty sure that PB will not allow you to create such a program; at least not for a kernel mode driver. Just about all PB programs are tied to the underlying OS api's and thus sit way above the kernel.
Of course Vista allows for user-mode drivers which may suit your needs. Creating one of these requires that you create an in-process COM server, something which I am finding is really quite easy with Purebasic - at least it is once you've read a couple of COM related books!
The point, however, is that you will probably be better off looking at using C (or asm) for creating any kind of driver, be it a kernel-mode or one of the new user-mode drivers.
Of course Vista allows for user-mode drivers which may suit your needs. Creating one of these requires that you create an in-process COM server, something which I am finding is really quite easy with Purebasic - at least it is once you've read a couple of COM related books!

The point, however, is that you will probably be better off looking at using C (or asm) for creating any kind of driver, be it a kernel-mode or one of the new user-mode drivers.
I may look like a mule, but I'm not a complete ass.
- Fluid Byte
- Addict
- Posts: 2336
- Joined: Fri Jul 21, 2006 4:41 am
- Location: Berlin, Germany
-1srod wrote:The point, however, is that you will probably be better off looking at using C (or asm) for creating any kind of driver, be it a kernel-mode or one of the new user-mode drivers.
He should learn to post first.

Windows 10 Pro, 64-Bit / Whose Hoff is it anyway?
-
- Addict
- Posts: 1518
- Joined: Wed Nov 12, 2008 5:01 pm
- Location: Russia
- Kaeru Gaman
- Addict
- Posts: 4826
- Joined: Sun Mar 19, 2006 1:57 pm
- Location: Germany