Background:
I am currently writing a .dll
library using Visual C (NOT C++) which intends to provide performance-optimized functionalities for other applications. All functions in this library fulfill the following requirements:
- They operate purely on built-in primitive types (
int
,long long
, etc.), pointers to these types, or self-definedstruct
s which in turn are comprised of these types. - No code segment relies on external code or libraries - not even on
malloc
orfree
. I do not call any functions which I have not written myself (I even rewrote functions likeabs
as inline assembly code to avoid any external function calls).
Furthermore:
- The library has no external dependencies
- The code does not have any
#include ...
-statements - The library is written in pure C (conforming the C99 standard - apart from the
__declspec(dllexport)
-statement decorating some of the written functions)
Question:
- What are the dependencies needed for redeploying/redistributing this specific library? I think that I do not need the MSVC runtime as I do not use any external types, functions, or dependencies, am I correct?
Assuming my previous assumptions are incorrect, which parts of the MSVC runtime do I need to include/redistribute?