How could I execute the exe file without dll?

I am using an open library which called openCV to do some image processing project. It is a convenient library, but it rely on dll very much, when I need to shared my results with other's, I have to
give them the dll files too. Do I have any way to run the exe files without the dll?
Thanks a lot
closed account (1yR4jE8b)
There might be static libraries that you can use, so instead of linking at runtime you can link at compile time and the libraries will be directly embedded into the executable itself.
Thanks
But according to some forumers in here, some DLLs have some agreement where you are *NOT* supposed to static link them into your executable.

I wonder how those DLL makers enforce such checks in reality :P
They enforce this simply by providing only the dll itself, import library and header file, not full source code. This is common practice between commercial components.
Topic archived. No new replies allowed.