Is it possible to embed nginx in a C/C++ application
Windows version of Ngnix isn't open sourced due to low quality of source code; it's just for testing/development.
For Linux and *BSD, you can embed your C/C++ application into Nginx by using module API. But if you want to stay in your application, libev and libeio is your friend.