Re: another linking error


[ Follow Ups ] [ Post Followup ] [ CS1044 Web Discussion Board ] [ FAQ ]

Posted by Tyler Hennessy on October 16, 2001 at 19:04:27:

In Reply to: Re: another linking error posted by Brian S on October 16, 2001 at 16:32:30:

: I get basically the same thing, mine says "P51.obj : error LNK2001: unresolved external symbol "void __cdecl" and that is shown for every single function I have. The program compiles fine. But these are all linker errors. At the bottom it shows "Debug/P51.exe : fatal error LNK1120: 17 unresolved externals
: Error executing link.exe." What is wrong?


What I found out was that if you were using the '&' to pass-by-reference make sure that you have the '&' in the prototype too. I added it to the prototype and I know longer got the linking error, hope that helps



Follow Ups:



Post a Followup

Name:
E-Mail:

Subject:

Comments:

Optional Link URL:
Link Title:
Optional Image URL:


[ Follow Ups ] [ Post Followup ] [ CS1044 Web Discussion Board ] [ FAQ ]