vrcaldwellv
vrcaldwellv

Reputation: 67

Can't Find DLL (Visual Studio 2008)

Right now I'm trying to write a program for a sensor to collect data with. The sensor manufacturer released an SDK that has example code in it. I haven't made any changes to the code and am only attempting to use their examples to figure out how to make my own code work with the sensor. I've opened it up with Visual Studio 2008 and attempted to run the code as both debug and release. In both cases, it stops when it can't find the manufacturer's dll files.

I've copied the files in question to the same folder with the project in it and the problem persists. I've been to multiple forums and downloaded things and nothing has worked. I've run Dependency Walker which indicated issues with ieframe.dll and ieshims.dll. I copied both files from the IE folder and into the system32 folder and then registered them with an elevated command prompt. This fixed the issue with ieshims but ieframe persists. I tried downloading the latest IE (11) but that just introduced more issues and failed to fix the ieframe issue.

I'm not really sure how to proceed and any help would be appreciated.

Upvotes: 1

Views: 243

Answers (2)

Travis
Travis

Reputation: 135

Are you getting other errors besides the .DLL errors? If so, you need to get ride of those errors. Once you get rid of those errors your DLL errors should go away then.

Upvotes: 0

John Alexiou
John Alexiou

Reputation: 29244

The dll needs to be in the same folder as the executable. I use a shortcut/link within VS to achieve this. The result looks like this:

pic

See this post for more details and an example.

Upvotes: 1

Related Questions