Serial Class

  • Thread starter Thread starter analizer1
  • Start date Start date
A

analizer1

Hello
I am working with Serialclass and this is working just fine...i have a 3rd
party dll for zmodem, xmodem , etc
which uses the port handle to gain reference to open port..how to get the
port handle from serialclass
so the file transfers can use the port

thanks
 
analizer1 said:
Hello
I am working with Serialclass and this is working just fine...i have a 3rd
party dll for zmodem, xmodem , etc
which uses the port handle to gain reference to open port..how to get the
port handle from serialclass
so the file transfers can use the port

You don't. AFAIK, if you need a file handle for use in unmanaged
libraries, you have to use CreateFile() via p/invoke to open the COM port.

Pete
 
the Port is Already open via c# SerialPort class
so Do Still need to Use CreateFile()
and if so is there a link i can Read

thanks
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top