Newbie: using an API. "Dll not found"

Platform Windows XP
Language: C

I'm doing some testing with a custom api.  I'm rather new to C especially under windows.   I have my code that I am testing complete and the exe is compiled and linked with the api .lib.  My question is: Why am I getting a message that says "The application has failed to start because <dllname> was not found. Reinstalling the application might fix this problem.  Do I have to do a LoadLibrary and typedef and define every single function?
Who is Participating?
jkrConnect With a Mentor Commented:
No, all you have to make sure is that the DLL your application is either in your application's directory or in one of these listed under ("Dynamic-Link Library Search Order")
TristinColbyAuthor Commented:
Its in the directory and I have the safelib check off. Still same error.
Then probably a DLL that this API DLL depends on is missing. Try to find which one using the Dependency Walker from
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.