I have the source code for a program made by someone but do not have a .lib file, but do have the .dll file. I also have the header file.

Is it possible to compile the program?