• C-API vs. C++ API

    By Ulrich Krause 1 decade ago
    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.
    • Yes looking @ C version

      By Andrew Luder 1 decade ago

      1, Yes, a month ago I started writing some equivalent C code, but stopped and decided I just wanted to get the C++ version to a mature state first. I'd like to release an equivalent C API version in the first half of 2010 and yes the additional DLL would not be required.


      1. Yes, it is an option to use direct WINAPI calls, but given "contig.exe" is a mature Microsoft Sysinternals tool I found it was easier to convince Microsoft shop Domino customers to use the DominoDefrag product when I could simply explain the server task worked similar to a product such as "Power Defragmenter".



        I believe guys like yourself and Adam Osbourne have done a lot to help disperse the myth about Domino defragging and I hope this project has also made a contribution to that. Once again a maturity thing, I'd like to think WINAPI calls may replace the "contig.exe" use at a later date.