Click here to Skip to main content
15,923,006 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralC++ "class"ic problem Pin
Dracula50002-Aug-02 6:49
Dracula50002-Aug-02 6:49 
GeneralRe: C++ "class"ic problem Pin
Chris Losinger2-Aug-02 7:13
professionalChris Losinger2-Aug-02 7:13 
QuestionPossible to retrieve class from <tr class="row1"> using MSHTML? Pin
kumaichi2-Aug-02 6:45
kumaichi2-Aug-02 6:45 
GeneralImportind Dialog to new project Pin
Shay Harel2-Aug-02 6:42
Shay Harel2-Aug-02 6:42 
GeneralRe: Importind Dialog to new project Pin
kumaichi2-Aug-02 6:49
kumaichi2-Aug-02 6:49 
GeneralRe: Importind Dialog to new project Pin
Chris Losinger2-Aug-02 6:52
professionalChris Losinger2-Aug-02 6:52 
GeneralRePainting issues? w/ child controls Pin
Gerjerts2-Aug-02 6:06
Gerjerts2-Aug-02 6:06 
GeneralRandom Linker Error Pin
Zac Howland2-Aug-02 5:53
Zac Howland2-Aug-02 5:53 
I have an ActiveX control that I wrote a while ago. It compiled fine then, but when I accidently hit "Rebuild All" today, I got the following output:

<br />
--------------------Configuration: PilotImport - Win32 Debug--------------------<br />
Creating Type Library...<br />
Processing C:\My Projects\Completed Components\PilotImport\PilotImport.odl<br />
PilotImport.odl<br />
Processing C:\Program Files\Microsoft Visual Studio\VC98\INCLUDE\oaidl.idl<br />
oaidl.idl<br />
Processing C:\Program Files\Microsoft Visual Studio\VC98\INCLUDE\objidl.idl<br />
objidl.idl<br />
Processing C:\Program Files\Microsoft Visual Studio\VC98\INCLUDE\unknwn.idl<br />
unknwn.idl<br />
Processing C:\Program Files\Microsoft Visual Studio\VC98\INCLUDE\wtypes.idl<br />
wtypes.idl<br />
Compiling resources...<br />
Compiling...<br />
StdAfx.cpp<br />
Compiling...<br />
Pilot_Import.c<br />
PilotImport.cpp<br />
PilotImportCtl.cpp<br />
PilotImportPpg.cpp<br />
Linking...<br />
mfcs42d.lib(dllmodul.obj) : error LNK2005: _DllMain@12 already defined in MSVCRTD.lib(dllmain.obj)<br />
mfcs42d.lib(dllmodul.obj) : warning LNK4006: _DllMain@12 already defined in MSVCRTD.lib(dllmain.obj); second definition ignored<br />
   Creating library Debug/PilotImport.lib and object Debug/PilotImport.exp<br />
Debug/PilotImport.ocx : fatal error LNK1169: one or more multiply defined symbols found<br />
Error executing link.exe.<br />
<br />
PilotImport.ocx - 2 error(s), 1 warning(s)<br />
<br />


Nothing in the code has changed -- does anyone know why this linker error suddenly popped up? I got around this with another project by completely remaking the project, but this requires a lot of retyping.
Thanks
Zac

"If I create everything new, why would I want to delete anything?"
GeneralRe: Random Linker Error Pin
Zac Howland2-Aug-02 9:26
Zac Howland2-Aug-02 9:26 
Generalstd::stack questions (2 of them) Pin
Le centriste2-Aug-02 5:36
Le centriste2-Aug-02 5:36 
GeneralRe: std::stack questions (2 of them) Pin
Tomasz Sowinski2-Aug-02 5:51
Tomasz Sowinski2-Aug-02 5:51 
GeneralRe: std::stack questions (2 of them) Pin
Joao Vaz2-Aug-02 5:57
Joao Vaz2-Aug-02 5:57 
GeneralVisual Studio .NET Editor Question! Simple! Pin
Ryan B.2-Aug-02 5:33
Ryan B.2-Aug-02 5:33 
GeneralCTreeCtrl Collapsing Message Pin
jparsons2-Aug-02 5:16
jparsons2-Aug-02 5:16 
GeneralRe: CTreeCtrl Collapsing Message Pin
Nish Nishant2-Aug-02 5:19
sitebuilderNish Nishant2-Aug-02 5:19 
GeneralRe: CTreeCtrl Collapsing Message Pin
jparsons2-Aug-02 5:22
jparsons2-Aug-02 5:22 
GeneralRe: CTreeCtrl Collapsing Message Pin
Nish Nishant2-Aug-02 5:29
sitebuilderNish Nishant2-Aug-02 5:29 
Generalhelp needed...!!! Pin
drmzunlimited2-Aug-02 4:54
drmzunlimited2-Aug-02 4:54 
GeneralRe: help needed...!!! Pin
chq122-Aug-02 5:24
chq122-Aug-02 5:24 
GeneralRe: help needed...!!! Pin
drmzunlimited2-Aug-02 7:56
drmzunlimited2-Aug-02 7:56 
QuestionWhere is MS VRML Viewer ? Pin
yarp2-Aug-02 4:51
yarp2-Aug-02 4:51 
GeneralDialogs without MFC Pin
James Spibey2-Aug-02 4:33
James Spibey2-Aug-02 4:33 
GeneralRe: Dialogs without MFC Pin
Chris Losinger2-Aug-02 4:50
professionalChris Losinger2-Aug-02 4:50 
GeneralRe: Dialogs without MFC Pin
James Spibey2-Aug-02 5:01
James Spibey2-Aug-02 5:01 
GeneralRe: Dialogs without MFC Pin
Joel Lucsy2-Aug-02 8:19
Joel Lucsy2-Aug-02 8:19 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.