Thanks all for your replies.

DirectX isn't the first graphics api i've worked with, also OpenGL. And I know i have the programming skills to make a small engine.
That means: i understand code enough to make it happen. I just need a lot of tutorials (i'm busy with the Rastertek tutorials, i think they're great)
and a lot of searching.

I asked about encrypting code because i was interested in the matter, but i didn't find sufficing info on Google, so i asked here.

I'm glad i got so much responses, but i think my question is answered already so this topic is closed, i guess
I actually have no idea if i can close this topic