Serial Communication

  • Thread starter Thread starter carmen
  • Start date Start date
C

carmen

I'm working in an aplication for a Smart Device that need to "talk" with a
printer continuosly through the serial port. I'm trying to use the John
Hint's sample code "Use P/Invoke to develop a .NET Base Class Library for
Serial Device Communication" but I'm new with VC# and need some basic rules
because I have a lot of compilation errors.
Where should I create my inherited class?
Thank you
 
Hi!

Could you be specific as to which errors are coming up? Also, does the
following link help you (its contains a managed serial communication class
implementation):

http://www.codeproject.com/dotnet/DotNetComPorts.asp

--
Regards,
Kumar Gaurav Khanna
-----------------------------------------------------------------
Microsoft MVP - C#/.NET, MCSE Windows 2000/NT4, MCP+I
WinToolZone - Spelunking Microsoft Technologies
http://www.wintoolzone.com/
OpSupport - Spelunking Rotor
http://opsupport.sscli.net/
Bangalore .NET Users' Group
http://groups.msn.com/bdotnet/
 
Thank you for the link !!
The errors are due to a bad impletentation of the inheritance of the Base
Class because I'm new with this lenguage.
I think that I need to work with easy projects and later try the serial
communication.
Thanks again
 
Hi!

Well, with the serial communication class the link talks about, you wont
need to inherit from it.. unless you want your own enhanced class.

So, this should serve the purpose.

--
Regards,
Kumar Gaurav Khanna
-----------------------------------------------------------------
Microsoft MVP - C#/.NET, MCSE Windows 2000/NT4, MCP+I
WinToolZone - Spelunking Microsoft Technologies
http://www.wintoolzone.com/
OpSupport - Spelunking Rotor
http://opsupport.sscli.net/
Bangalore .NET Users' Group
http://groups.msn.com/bdotnet/
 
Back
Top