I describe: I do a project, you need to call a DLL function, the DLL is GetNet DLL, declarative way Function string GetLocalIp () Library "GetNet. DLL" I wrote a PBL by herself, and then declare the GetLocalIp () (get IP function), compiled into exe, running exe can get the desired results, there is no problem, program is running normally, But I get the function to the project of PBL, then generate PBD file, but the tragedy came, I run the project, in the call GetLocalIp popup above () error; Unresolvable external getlocalip when linking the reference at 19 in line function f_yj_jyjg of object f_yj_jyjg.
PS (I tried with Procmon. Exe tracking GetNet. DLL found project no loading GetNet. DLL, that is to say, the DLL should never read)
CodePudding user response:
GetNet. Under the DLL in the system32 to try first