🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: borland.public.cppbuilder.nativeapi
5 messages
5 total messages Started by Beto Fri, 11 Apr 2003 23:06
I/O + graphics
#17063
Author: Beto
Date: Fri, 11 Apr 2003 23:06
7 lines
1227 bytes
How do I input and output ( I/O ) data to my PCI card using BCB ? How do I
deal with its address, interrupts... ?
Moreover, when the data arrives in the interrupt I must draw it to the
screen in an specific location. So, how can I deal with interruptions ? How
is the best way to deal with fast graphics inside interruptions ?

Thanks in advance
Re: I/O + graphics
#17065
Author: Remy Lebeau (TeamB)
Date: Fri, 11 Apr 2003 23:51
14 lines
1461 bytes
"Beto" <pasini@netbank.com.br> wrote in message
news:3e974b68@newsgroups.borland.com...
> How do I input and output ( I/O ) data to my PCI card using
> BCB ? How do I deal with its address, interrupts... ?

What you ask for can't be done with Builder.  Applications generated by
Builder are just standard applications, and the OS doesn't allow
applications to get that low-level.  What you need is a device driver,
something that Builder doesn't support creating. For that, you ned
Microsoft's DDK instead.


Gambit
Re: I/O + graphics
#17067
Author: Beto
Date: Sat, 12 Apr 2003 01:21
23 lines
1774 bytes
I can develop the DDK with Microsoft C and then rest of my application in
CBuilder, ok ?
Thanks
Beto

"Remy Lebeau (TeamB)" <gambit47@yahoo.com> wrote in message
news:3e9754f4$1@newsgroups.borland.com...
>
> "Beto" <pasini@netbank.com.br> wrote in message
> news:3e974b68@newsgroups.borland.com...
> > How do I input and output ( I/O ) data to my PCI card using
> > BCB ? How do I deal with its address, interrupts... ?
>
> What you ask for can't be done with Builder.  Applications generated by
> Builder are just standard applications, and the OS doesn't allow
> applications to get that low-level.  What you need is a device driver,
> something that Builder doesn't support creating. For that, you ned
> Microsoft's DDK instead.
>
>
> Gambit
>
>
Re: I/O + graphics
#17070
Author: Remy Lebeau (TeamB)
Date: Sat, 12 Apr 2003 01:52
13 lines
1485 bytes
"Beto" <pasini@netbank.com.br> wrote in message
news:3e976afa@newsgroups.borland.com...
> I can develop the DDK with Microsoft C and
> then rest of my application in CBuilder, ok ?

Yes, as device drivers can be controlled via the CreateFile() and
DeviceIoControl() functions from the Win32 API, both of which are usable in
normal applications.  This combination is about the only way the OS allows
normal applications to gain direct access to hardware.


Gambit
Re: I/O + graphics
#16980
Author: Fishface
Date: Sat, 12 Apr 2003 15:01
7 lines
1164 bytes
Beto wrote:

> I can develop the DDK with Microsoft C and then rest of my
> application in CBuilder, ok ?

Here you may find another option:
http://www.entechtaiwan.com/tools.htm
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads