I'm new to this sort of stuff so please bear with me
I am using C# to do this but importing dll's and functions. So I apologise if this is the wrong forum to post but I am you are able to help.
I've imported Coredll.dll so I can CreateFile(), WriteFile(), and CloseFile().
I can get a handle to the COM3 serial port.
When I write file, I get the error 1359 which is internal error. But have no idea why. It seems to send beams anyway but I get this error when debugging. Of course, I dont know if the signals sent are valid or not.
What im trying to do is get access to the COM device so I Can send signals to, lets say, a tv device or DVD player.
I tried using the serialPort class in .NET 2.0 but when I close() the stream/serial port I get a blank IOException and have no idea why.
Please can someone help :)
I am using a smartphone.

CreateFile
NAB
Hi,
Is the serial port connected to an IrDA port If you are sending data through IrDA, I would suggest you to use NETCF's IrDA classes instead as it provides richer functionalities specific to IrDA.
Cheers,
Anthony Wong [MSFT]
Ray.B
Hi
unfortunatly I cannot do that as the device is NOT going to be connecting to another mobile device/PC
It will be sending data to another non pda device.
Any more suggestions I am also awaiting the answer to my other thread about the serialPort class :)