1. In this case, can I use this library in the D language program?2. How to create initialization?
You can load it exactly the same way you would from C. The article you linked is about writing a DLL in D itself, but using a DLL from D is nothing special. Same functions as in C. The compiler of the dll doesn't matter.