I've used ACE.lib in my program and it compiled properly. But when I debug I get this error. The ACE.dll is in the same folder as 开发者_如何转开发the lib and I've also tried adding it to the project and PATH. Nothing works
Any help is appreciated
Verify that it really is in your path by:
- Press START->Run
- Enter "cmd" and press ENTER
- Enter "echo %path" and press ENTER
- Verify that the directory is there.
Your project directory is your running directory (unless you changed it in the project settings). Check what happens if you put the DLL there.
Lastly, try running your project executable directly (double-click on it in Windows Explorer, for example) while the ACE.dll is in the path or in your running directory.
精彩评论