Subj : Re: IO Port To : borland.public.cpp.borlandcpp From : dkat Date : Tue Nov 09 2004 09:13 pm Do a search for TVichw32 - it is a real nice package that will allow you to build what you need. http://www.clana3d.com/sections.php?op=printpage&artid=55 This is a link I came up with on a quick search but I can't tell you what they are handing out. "Dani" wrote in message news:419157a2$1@newsgroups.borland.com... > > It is Windows 32 bit, any other suggestions? > > Bob Gonder wrote: > >Dani wrote: > > > >>This is new for me :( > >>I need to open a drawer which uses RJ11 Connector. The specifications are: > >> > >>The driving voltage is DC+12V. I/O port 408h is used for the solenoid operation. To open the drawer, write E0h to the port, wait 200ms, then write F0h to turn off the drive. > >> > >>Can anyone provide me with an example for this. > > > >#include > > > >outportb( 0x408, 0xe0 ); > >delay(200) > >outportb( 0x408, 0xf0 ); > > > >Unless you are writting for 32 bit Windows, but then you'd be in the > >wrong group :-) > > > > > > > .