Home > Software engineering >  Consult can't locate the program input point in the dynamic link library
Consult can't locate the program input point in the dynamic link library

Time:10-12

Each master
Use VS2008 to create a new program, the program calls DLL written in vc6.0, carried out the following operations:
1, put the DLL, lib, h file is copied to the program directory and dbug directory;
2, in the project - & gt; Attributes - & gt; The linker - & gt; Input - & gt; Add the corresponding additional dependencies.lib file;
3, the corresponding h is added in the engineering documents;
Compiling, results suggest is "unable to locate the program input point XXX () in the dynamic link library. DLL" problem,
Consult everybody warrior, I this operation method is what's missing? How can appear this kind of problem?

CodePudding user response:

XXX is a function,

A case is dependent on the DLL and rely on other DLL

One is the difference between platform,

I have encountered this problem, for example,

Can't locate the program input point _except_handler4_common in the dynamic link library MSVCRT. DLL on

Recently, a variety of software is the emergence of a startup of the error message "unable to locate the program input point _except_handler4_common in dynamic link

"Library MSVCRT. DLL,

This tip is: Windows Xp system; Software includes: Windows live writer, 2009 Windows messenger 2009,

Firefox 3.5 is new version, such as

After the prompt, click ok, it doesn't affect the use of the program, the cause of the problem is, in fact, Microsoft's own problem, Microsoft is

The Vista of sequelae,

In Vista, there's a pretty cool features, is the "thumbnail program", a bit of a 3 d effect, this functionality, call the dwmapi DLL this

A library and dwmapi. DLL and cited MSVCRT. _except_handler4_common functions in the DLL,

In the XP system, however, the system's own MSVCRT. DLL and Vista of MSVCRT DLL version, not the

_except_handler4_common, results in the launcher, the "unable to locate the program input point

. _except_handler4_common in the dynamic link library MSVCRT DLL "error,

The solution:

Under the c: \ Windows \ system32 dwmapi. DLL name, for example: instead of dwmapi. DLL. Bak,

CodePudding user response:

Use Depends on you and the DLL, vc6 compile exe to see whether it is right, the problem immediately

CodePudding user response:

There is a DLL file to miss, can not find

CodePudding user response:

Are copied to the project directory, or not

CodePudding user response:

The solution? I met this kind of problem, also don't know how to solve

CodePudding user response:

Possible. Lib and DLL mismatch, or lack of dependent DLL
DependsView check for EXE and DLL pay attention to the red part

CodePudding user response:

Isn't it on xp, vs2012 did not support the xp

CodePudding user response:

In a 64 - bit Windows:
64 exe and DLL in the directory c: \ Windows \ sys tem32 directory.
32 bit exe and DLL in the directory c: \ Windows \ sys wow64 directory.
So pay attention to:
In win64 system registered under 32-bit ocx DLL to 32 ocx or copy the DLL to the c: \ Windows \ syswow64 \ directory,
And registered to c: \ Windows \ syswow64 \ regsvr32 XXXXXXX ocx or DLL
  • Related