   Doubt about possible commercial use
  I've been programming a 2d engine in the past months, and things are going surprisingly well, so much that i'm thinking about being able to sell it in the future.I have however doubts about the instruments i'm using: Dev-cpp and DirectX.Because of Dev-cpp i need to use a DirectX devpak, which i've heard it's not even really legal, given that is a modified, not by Microsoft, version of DirectX.Can someone clarify it to me, can i legally distribute a game, either commercially or not, like this? Or do i need another compiler to use regular DirectX?   
  I don't see why using Dev-cpp with DX should prevent you from commercially selling your game.Even if there is a stupid statement in the license somewhere written in DirectX,I would see no reason why Microsoft would go after you for it.Not even worth their time.But to my knowledge, there is nothing illegal about what you're doing.   ;  Yeah obviously i'd hope as much, but really nobody knows the bare, cold facts?   ;  I don't think there's anything wrong with it, but to be honest, I'd drop dev-c++ as soon as possible simply because it's not very good. There've been no new releases in over two years, and things like the DirectX package are almost as far out of date. Visual C++ Express is free, works with the latest DirectX SDKs, and to be honest I'd say it's nicer to use anyway. The debugging support is top-notch. Anything you create with it can be distributed however you want.   