As lazy at it may sound, I have two applications, one of them is supposed to preprocess data so that the second does the real work. Now, each of these application is over 1000 lines of code, it could be easy to write a batch file that calls the first, get an output, then call the second with the output of the first. But then again, I don't want a batch file but rather an application, it's more flexible do manage conditions and, tbh, I want to be a exe.
To compromise, I'm willing to turn the first application into a DLL or a LIB, and use it in the second, though it is mysterious to me at the moment HOW I should use it...