Link error: Can't find c:/Document.obj

I am trying to write a wrapper DLL with Visual Studio 2005 to solve a _cdecl/_stdcall problem I had calling the original DLL methods from VB6. I'm a linux/gnu guy and Microsoft is giving me fits. I finally figured out (I think) how to resolve the external in the wrapper DLL by including the lib file for the original DLL in the Properties/Linker/Input tab. I don't get an 'unresolved external' anymore. I do get the error LINK : fatal error LNK1104: cannot open file 'c:\Documents.obj'. I saw it suggested on another list that being under 'My Documents' was an issue but moving the output does not solve the problem. There is nothing in my source tree remotely like Documents.c/cc. Can anybody tell me what the IDE is whining about?

Thanks

Mike
muratetAsked:
Who is Participating?
 
muratetAuthor Commented:
When I had the lib specified as path/lib it was under c:\documents and settings because it was under My Documents. When I split the path and the lib name the lib was under c:\program files. Maybe that was the issue.
0
 
muratetAuthor Commented:
I'm going to answer my own question. By trial & error, I figured out where I could set the path for include and library files. I left the path off of the required library name and put the path into box provided and now all of the externals are resolved. If anybody knows what Microsoft meant with this message, I'd still like to hear it.
0
 
HyloCommented:
Looks like it may be trying to interpret c:\documents and settings\ incorrectly?

Is the path to that lib you added under that directory?
0
 
muratetAuthor Commented:
Being new to the list, I'm not sure exactly what you mean by PAQ it, but I think it would be worthwhile to leave it somewhere where it can be found by somebody else.

Thanks

Mike
0
 
jkrCommented:
Done.
0
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.