Here is my code:
if (system("C:\WINDOWS\System32\netsh.exe interface ip set address name="Net" static 169.254.216.78 255.255.255.252 none >nul"))
{
printf("Error is %d.\n", GetLastError());
}
In my case error is 2
. I've read about this article which said that error may indicate DLL required by the executable is not available. But it didn't say how can I find exact DLL. It only specified that process explorer could be used for that, but didn't mention instructions how to do it. I searched for a while and could not find anything that would help me. Could you please tell me how to debug and find the exact DLL which is not loaded? Thanks in advance.