Click here to Skip to main content
16,011,508 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Class hierarchy Pin
Tomasz Sowinski21-Jun-01 10:18
Tomasz Sowinski21-Jun-01 10:18 
GeneralRe: Class hierarchy Pin
Chris Meech21-Jun-01 10:27
Chris Meech21-Jun-01 10:27 
GeneralRe: Class hierarchy Pin
21-Jun-01 10:02
suss21-Jun-01 10:02 
GeneralRe: Class hierarchy Pin
Chris Meech21-Jun-01 10:25
Chris Meech21-Jun-01 10:25 
GeneralRe: Class hierarchy Pin
21-Jun-01 11:57
suss21-Jun-01 11:57 
GeneralRe: Class hierarchy Pin
J Patel22-Jun-01 8:31
J Patel22-Jun-01 8:31 
GeneralRe: Class hierarchy Pin
Chris Meech22-Jun-01 9:01
Chris Meech22-Jun-01 9:01 
General_DllMain@12 already defined Pin
Chris Klecker21-Jun-01 9:06
Chris Klecker21-Jun-01 9:06 
I am getting the following linkage problem to occur when building. MSDN says they have a solution but
I can't seem to make the solution work.

mfcs42d.lib(dllmodul.obj) : error LNK2005: _DllMain@12 already defined in CreateCharacterCls.obj


mfcs42d.lib(dllmodul.obj) : error LNK2005: __pRawDllMain already defined in CreateCharacterCls.obj


What I try is placing mfcs42d.lib in the Object/library module box under links under project settings, which looked to be what microsoft was trying to tell me. (I also tried placing in under libraries to ignore since that was also mentioned. Perhaps I using the wrong libraries.)

Does anyone know the real solution around this. Either I'm reading the microsoft solution wrong, or it's not descriptive enough on the solution.

Confused | :confused:

Thanks!

GeneralRe: _DllMain@12 already defined Pin
Tim Deveaux21-Jun-01 9:50
Tim Deveaux21-Jun-01 9:50 
GeneralRe: _DllMain@12 already defined Pin
Chris Klecker21-Jun-01 10:19
Chris Klecker21-Jun-01 10:19 
GeneralRe: _DllMain@12 already defined Pin
Tim Deveaux21-Jun-01 15:07
Tim Deveaux21-Jun-01 15:07 
GeneralRe: _DllMain@12 already defined Pin
21-Jun-01 16:46
suss21-Jun-01 16:46 
GeneralRe: _DllMain@12 already defined Pin
Chris Klecker21-Jun-01 16:49
Chris Klecker21-Jun-01 16:49 
GeneralRe: _DllMain@12 already defined Pin
Tim Deveaux22-Jun-01 3:36
Tim Deveaux22-Jun-01 3:36 
GeneralRe: _DllMain@12 already defined Pin
Chris Klecker22-Jun-01 8:34
Chris Klecker22-Jun-01 8:34 
GeneralWhich method of CFile return if the pointer arrived to the end of the file ? URGENT !!! Pin
21-Jun-01 8:56
suss21-Jun-01 8:56 
GeneralRe: Which method of CFile return if the pointer arrived to the end of the file ? URGENT !!! Pin
Chris Meech21-Jun-01 9:09
Chris Meech21-Jun-01 9:09 
GeneralI did not understand you ! Who are "them" ???? Pin
21-Jun-01 9:18
suss21-Jun-01 9:18 
GeneralPlease ! answer me ! This is URGENT !!! HELP !!! Pin
21-Jun-01 11:12
suss21-Jun-01 11:12 
GeneralRe: Please ! answer me ! This is URGENT !!! HELP !!! Pin
Carlos Antollini21-Jun-01 11:19
Carlos Antollini21-Jun-01 11:19 
GeneralWhat's wrong here??? Pointer question Pin
21-Jun-01 8:23
suss21-Jun-01 8:23 
GeneralRe: What's wrong here??? Pointer question Pin
Tim Deveaux21-Jun-01 8:49
Tim Deveaux21-Jun-01 8:49 
GeneralRe: What's wrong here??? Pointer question Pin
Richard Cheng21-Jun-01 8:56
Richard Cheng21-Jun-01 8:56 
GeneralRe: What's wrong here??? Pointer question Pin
Tim Deveaux21-Jun-01 9:21
Tim Deveaux21-Jun-01 9:21 
GeneralRe: What's wrong here??? Pointer question Pin
Tomasz Sowinski21-Jun-01 9:12
Tomasz Sowinski21-Jun-01 9:12 

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.