Can anyone tell me what #pragma does? I'm trying to write DLL's and I see examples using the line:
I know that if u include that line u can call functions from the dll file, but then i see some examples do this:Code:#pragma comment(lib, "theDLL.lib")
Can someone tell me the details of what is happening?Code:extern "C" __declspec(dllimport) void fuction_name( ); void funtion_name();
THX!
Dat