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

Roman Novgorodov

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

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

You wrote:

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