I am runing Windows 10 64 bit Home Edition.
I am using the 64 bit TDM compiler version 4.9.2.
I am programming with the Dev-C++ IDE.
I am considering the case of running my compiled executable on a similar PC.

I have the following questions about library files and their successful access, via #include
to a .cpp file with a main() method.

The pattern that I understand is that I update the linked with a -l command (with my IDE)
to the location of my library file. I then #include the desired .h header file, for the class that I need,
specify it via unix style path specifying with my #include. In this kind of a situation...

-If I simply rename a .a file as .lib, will everything work, ie compile and run successfully?

-If, in the instance of using a 64 bit .dll library file, in my main method file, I #include the correct class header,
and use -l to update the linker to the location of that .dll file, then will everything also run as described, similar to a .lib (.a ?) file?
Can I use a .dll file exactly the same as a .lib file, in this context?

-Are there 32 bit .lib files and 64 bit .lib files, or in fact not?