You know you have to set the constant buffer and apply it to a slot for the shader? Show that code if you are already doing it.
Thanks, man. I forgot about that. Just added registration and after that I received access to my cbuffer.
What actual error do you get?
Just had no access to my cbuffer. After I did that TeaTreeTim suggested, cbuffer became accessible.