I am using C++Builder 3. How do I program for port input/out? The compiler does not recognize inportb and outportb. For Visual Basic I have an API procedure I found on the web. Is something like this available for C++Builder?
With Win98 and below it's possible to access the hardware directly, with WinNT, ME, XP, 2K it's _not_ possible to do that, it's a result of Microsoft attempt to secure the stability.
You can however, with special drivers, access the hardware in Win above 98 but it's not all that easy.
Thus it's removed from the BCB.
On different pages on the net there are solutions for that in the form of *.H-files and such, they does however not solve the hardware-access issue with WinXP, they merely adds the command in the language.
Totte
Keep making it perfect and it will end up broken.
I think there is also a component on the Tools disk that came with BCB. If you don't have the disk, you can also download it from Borland.com.
James P. Cottingham
----------------------------------------- To determine how long it will take to write and debug a program, take your best estimate, multiply that by two, add one, and convert to the next higher units.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.