Hi all,

I am using the following code line:

Code:
#pragma comment(lib, "wininet.lib")
Is there a way to print a message to the user if the file not found??

For example: If I rename wininet.lib to something else, I get a Linker error when compiling the code.
Ideally I would the user to get a message like: "wininet.lib not found try reinstalling the program"
How can I do it??

Many thanks!!!