How to use kontakt 5 dll

Hi everyone
I’m beginner and I don’t know how I could use kontakt and send it midi info, like Reaper or Cubase

Definitely not a beginner task. But check out the audio plugin host example to see a nice barebones plugin host (assuming that’s what you’re trying to do with a “kontakt 5 dll”).