Re: Easy Question - LINK2005 error




"bones288" <b_t_k@xxxxxxxxxxx> wrote in message
news:1183664580.433749.38930@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx

.....

try.obj : error LNK2005: "void __cdecl SetNumber(int)" (?
SetNumber@@YAXH@Z) already defined in try_example.obj
try.obj : error LNK2005: "void __cdecl SetNumber(int)" (?SetNumber@@$
$FYAXH@Z) already defined in try_example.obj


.....

You might have too many files included in your project. It seems that
Num:SetNumber(int) is defined in both try.cpp and in try_example.cpp

Go to the file view of your project, and see if it includes too many files.
If so, hit the delete key on the unneeded files. This will delete the file
from the project without also deleting the file from your disk.

Mike


.



Relevant Pages

  • Re: Error Message
    ... I've tried deleting a truck load of clipart and any other unnecessary files ... Deleting items from within Windows normally just moves them to the ... files are stored on disk as individual contiguous files. ... the Properties box, select Tools, and click Defragment now. ...
    (microsoft.public.windowsxp.perform_maintain)
  • Re: Form Generation w/ tmp variables
    ... over type something in the wrong field, it is gone forever. ... is NOT different then forcing them to hit save, ... So, just as a side note, the record in a form is NOT committed to disk until ... This is much like putting a key in your car, turning the key, and your car ...
    (microsoft.public.access.forms)
  • Re: Login problem
    ... > I hit the ENTER key about 20 times and it would not let me in! ... >>> I just bought a new hard disk and installed XP Pro on it. ... >>> it has resisted my efforts to boot to the command prompt and type in the ... it's a brand new install on a brand new disk. ...
    (microsoft.public.windowsxp.general)
  • Re: 6.0 post-install questions
    ... Kaitlyn Luna wrote: ... hit the disk because they were in memory are lost forever. ... Are the others not in the source tree? ...
    (comp.unix.bsd.freebsd.misc)
  • Re: Installed 5.2RC from CDROM, fails to boot in manager
    ... > key I hit. ... > I had some fun running fdisk on this thing. ... > geometry right for this disk - but it did appear to be able to detect the ... Energy Sciences Network ...
    (freebsd-current)