DominoDefrag - Discussion: C-API vs. C++ API
1. Did you ever consider to use pure C-API instead of C++ API? C-API is more work writing the code, but you would not have to deploy an extra DLL.
2. I know that the Win defrag API is not very well documented, but there are a few samples so that it would not be necessary to use contig.exe but call the functions directly.
Documents