Plss!!!Help!!!! in parallel interfacing in visual c++
-
:):)where can i get tutorials on how to transfer an 8 bit wav file using parallel port in visual c++? thank a lot for the help guys. I really need it for our thesis project.. Thanks alot!!pls help me!:):):):)
If you are using Win95 or Win98 then you may be able to do it using assembler. If you are using NT/2K or XP then things get more tricky. Basically, you need a driver to allow direct access to the parallel port (which is not normally allowed). I used one ages ago, which you could give a range of I/O addresses, and you could read or write to them via a DLL. I can't remember what it is called, but Try googling for "parallel port access windows driver".
-
:):)where can i get tutorials on how to transfer an 8 bit wav file using parallel port in visual c++? thank a lot for the help guys. I really need it for our thesis project.. Thanks alot!!pls help me!:):):):)
Check http://www.codeproject.com/csharp/csppleds.asp[^] http://www.codeproject.com/csharp/cspplcds.asp[^] Papa while (TRUE) Papa.WillLove ( Bebe ) ;
-
:):)where can i get tutorials on how to transfer an 8 bit wav file using parallel port in visual c++? thank a lot for the help guys. I really need it for our thesis project.. Thanks alot!!pls help me!:):):):)
For interfacing with parallel or serial ports in VC6, you need to get a handle by calling CreateFile function. Pass "LPT1:" as filename. Arsalan Malik
-
If you are using Win95 or Win98 then you may be able to do it using assembler. If you are using NT/2K or XP then things get more tricky. Basically, you need a driver to allow direct access to the parallel port (which is not normally allowed). I used one ages ago, which you could give a range of I/O addresses, and you could read or write to them via a DLL. I can't remember what it is called, but Try googling for "parallel port access windows driver".
I've sucseffuly used a general purpose device drive called "TinyPort". It's good, but it warns you that it is relativly slow, being that it is general purpose, not specific to a device.