TlbImp.exe can't register lib file : “.dll is

2019-06-24 01:52发布

问题:

The .dll is FKAttend.dll comes with a VB6.0 SDK of a biometrics device. The .dll works fine in VB6.0 environment. However when trying to register it in another PC with VS.NET environment, it is giving the above error.

We inspected the .dll using dependency walker and it shows the following errors. How can I get this .dll registered and worked in VS.Net environment?

回答1:

Apparently windows 7 introduced some sort of DLL forwarding that Depends.exe doesn't know about.

Wikipedia has an article detailing this, but doesn't mention why the author no longer updates it. I suspect the author no longer works for MS.

So those are a red herring, the problem actually lies elsewhere.

See also Win 7, 64 bit, dll problems

PS: OpenHub.net has a GNU Dependency walker page, but there is absolutely nothing behind it. The project link 404s, not one line of code. Sad!



标签: c# .net dll vb6