Quote:
Originally posted by xds4lx
Ok, well that doesnt seem clear enough, b/c in the source im looking at they give two examples of the same thing and they just say that __declspec(dllimport) just makes a little more efficient code and thats it. They use both dllimport and dllexport on the same function and i sure as hell dont see any difference.
I think __declspec is a compiler command for VC++ that allows you to create dlls without having to create .def files (These files were to help the compiler know which functions to export).......I think its just a conveinience thing and its obvioiusly not part of the language.....worth putting in.