Home > database >  Compiled into PBD error
Compiled into PBD error

Time:09-16


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

CodePudding user response:

The
refer to the original poster youfulan response:

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)


Should be getnet. DLL was not found, if you are using Windows xp, you can put the getnet. DLL in PBL of the current directory to

If you are using Windows 7 or doing system, you need to put the getnet. DLL in pb#. Exe file directory, or in the Windows directory

CodePudding user response:

refer to the second floor lzp_lrp response:
Quote: refer to the original poster youfulan response:


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)


Should be getnet. DLL was not found, if you are using Windows xp, you can put the getnet. DLL in PBL of the current directory to

If you are using Windows 7 or doing system, you need to put the getnet. DLL in pb#. Exe file directory, or in the Windows directory

learning

CodePudding user response:

Generally in your program is running directory, you can,
  • Related