I've recently created a .dll project in Visual Studio using C++.
I'm curious how Visual Studio is creating the ability to link the files. I got everything working properly but it seems I can get the project to work flawlessly regardless of where the .dll file is located.
Once the .exe file is created by VS is this runnable without the .dll file? or the .h file? It seems I can run the file with no problem from any folder even when I move the .h and .dll files... I'm not quite sure how this is possible unless the .exe file just has everything it needs and VS only creates the .exe with all the information then you can export the .exe file anywhere.
I've always been working in a unix environment until recently so it's just confusing to me how a main.cpp file can be compiled then run without knowledge of the location of header files or .dll files.