Author Topic: Re: What is the difference between WriteReport and SendData methods?  (Read 1923 times)

Roman Novgorodov

  • Engineer
  • Administrator
  • Hero Member
  • *****
  • Posts: 994
  • we will win
    • View Profile
    • Forums.nrCommLib.Com
Hello

The differences are following:

  • TnrHid.WriteReport() is synchronous. It blocks a caller thread.
  • TnrHid.SendData() is asynchronous. It does not block a caller thread.


Roman Novgorodov
DeepSoftware.Com

You wrote:

Quote
Both SendData and WriteReport seem to be working,  thanks!
What is the difference between these 2 methods?
Bob
DeepSoftware llc - The professional components for Delphi/CBuilder/.NET. The high quality custom software development.
Forums.nrCommLib.Com - DeepSoftware Tech Support Forum.