Use the library InpoutX64 with serial port.

My x64 port of InpOut32
Post Reply
Jummi
New User
Posts: 1
Joined: Thu Nov 18, 2010 9:58 pm

Use the library InpoutX64 with serial port.

Post by Jummi » Thu Nov 18, 2010 10:03 pm

I could give an example of initializing the serial port from basic or c + + using the library INPOUTX64?

I want to use the serial port using the free compliador AutoIt and not initializing the serial port to send and read data.

Could you help me?

User avatar
phil
Site Admin
Posts: 5877
Joined: Sun Apr 06, 2003 11:12 pm

Re: Use the library InpoutX64 with serial port.

Post by phil » Fri Nov 19, 2010 12:39 am

I'm sorry, I don't understand your post - are you asking for an example of using InpOut32 for serial communications?

My first response would be - Why on earth would you want to use InpOut32 for serial communications - which are native and do not need special driver support in Windows?

The *ONLY* reason to use InpOut32 would be to poke the ports and set a (completely) non standard and unsupported baud rate (for example). All other "normal" serial communications can be done *very* easily in any normal programming language - its especially easy in VB and .NET but there are plenty of C++ classes and libraries to do this.

Second to that, InpOut32 would only be able to talk to the "bios" controlled serial ports - and these days, most serial coms is done using USB/Serial converters - which InpOut32 cant address. So again, you would be better using the native OS serial support which can use such devices (without any special preparation).

Thanks,
Phil
--[ Phil ]--
--[ Administrator & XMBC Author ]--
Logitech G9, Logitech MX518, Microsoft Intellimouse, Trust 16341 BT Mouse
Windows 10 x64, Intel i5-9600k, Asus Z390-ROG, 16GB DDR4,
nVidia GeForce GTX 970, Evo 970 500Gb NVME, 2x2TB WD Black (RAID1)

Post Reply