Sun Jan 21, 2018 3:42 pm
Good that you got it working.
I believe all the source files that are added to VS project are compiled and then linker builds the final binary file from the used object files starting from the object file that contains the executable or library main entry point. Here your problem was that linker didn't find the function in any of compiled object, then it looks in the additional dependencies list which instructs to link against other pre-built libraries, but didn't find the function there either. For example, if you have an external DLL file, which contains some function you want to use, you include the header of that file to get the function definition and in linker additional dependencies point to the accompanyng .lib file, which describes what functions the DLL library file contains and what are the memory addresses of their entry points. Linker will use this information to add necessary information to your binary file so that on runtime the function is correctly found from the dll it is contained in.
I do stuff