Click here to Skip to main content
15,918,889 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: small problems with runtime controls Pin
r i s h a b h s7-May-03 22:48
r i s h a b h s7-May-03 22:48 
GeneralRe: small problems with runtime controls Pin
David Crow8-May-03 3:34
David Crow8-May-03 3:34 
GeneralRe: small problems with runtime controls Pin
Trollslayer8-May-03 2:41
mentorTrollslayer8-May-03 2:41 
GeneralUsing RealAudio Pin
7-May-03 17:56
suss7-May-03 17:56 
GeneralRe: Using RealAudio Pin
Stephane Rodriguez.8-May-03 1:06
Stephane Rodriguez.8-May-03 1:06 
Generalopen IE as popup.. Pin
xxhimanshu7-May-03 17:53
xxhimanshu7-May-03 17:53 
GeneralDatabase Troubles Pin
bmxracer7-May-03 17:46
bmxracer7-May-03 17:46 
GeneralOpenDocumentFile(NULL) has problem Pin
blongtq7-May-03 15:11
blongtq7-May-03 15:11 
Hello all,
I have a big problem and I don't know why.
Here is my problem:
I have a large project with unicode supported. When I build it as Debug configuration, everything is OK and my app runs correctly. When I build it as Release configuration, the linker complains:
LINK : warning LNK4075: ignoring /EDITANDCONTINUE due to /INCREMENTAL:NO specification
LINK : warning LNK4098: defaultlib "mfc42ud.lib" conflicts with use of other libs; use /NODEFAULTLIB:library
LINK : warning LNK4098: defaultlib "mfcs42ud.lib" conflicts with use of other libs; use /NODEFAULTLIB:library
LINK : warning LNK4098: defaultlib "msvcrtd.lib" conflicts with use of other libs; use /NODEFAULTLIB:library
LINK : warning LNK4098: defaultlib "LIBC" conflicts with use of other libs; use /NODEFAULTLIB:library.
I ignore these warnings and try to run my app. Then, my app hangs when calling OpenDocumentFile(NULL).
I really don't know why the linker uses *d.lib during the linking process.
After that I use /NODEFAULTLIB to ignore these lib and the linker complain again:
LINK : warning LNK4075: ignoring /EDITANDCONTINUE due to /INCREMENTAL:NO specification
LINK : warning LNK4098: defaultlib "mfc42u.lib" conflicts with use of other libs; use /NODEFAULTLIB:library
LINK : warning LNK4098: defaultlib "mfcs42u.lib" conflicts with use of other libs; use /NODEFAULTLIB:library
LINK : warning LNK4098: defaultlib "msvcrt.lib" conflicts with use of other libs; use /NODEFAULTLIB:library
I ignore these warning and try to run my app. Then, my app cause a DEBUG ASSERTION. It is so STRANGE because I build my app under Release mode.
Please give me some ideas.
Thanks in advance.
GeneralRe: OpenDocumentFile(NULL) has problem Pin
Nimmi K.R13-Aug-08 17:42
Nimmi K.R13-Aug-08 17:42 
GeneralSerilizeElemets in .Net 2003 Pin
voidspace7-May-03 13:44
voidspace7-May-03 13:44 
QuestionFile Explorer (Adding custom columns) Can anyone help? Pin
Joshua Jarman7-May-03 12:52
Joshua Jarman7-May-03 12:52 
AnswerRe: File Explorer (Adding custom columns) Can anyone help? Pin
Michael Dunn7-May-03 15:18
sitebuilderMichael Dunn7-May-03 15:18 
GeneralRe: File Explorer (Adding custom columns) Can anyone help? Pin
Joshua Jarman8-May-03 5:26
Joshua Jarman8-May-03 5:26 
GeneralAccessing a DOS Application from Windows Pin
nde_plume7-May-03 12:50
nde_plume7-May-03 12:50 
GeneralRe: Accessing a DOS Application from Windows Pin
Ken Mazaika7-May-03 13:23
Ken Mazaika7-May-03 13:23 
GeneralRe: Accessing a DOS Application from Windows Pin
Ted Ferenc7-May-03 21:28
Ted Ferenc7-May-03 21:28 
QuestionHow can I include a pure "C" module in a MFC project Pin
Cesario Simoes, jr7-May-03 12:26
Cesario Simoes, jr7-May-03 12:26 
AnswerRe: How can I include a pure "C" module in a MFC project Pin
Ken Mazaika7-May-03 13:21
Ken Mazaika7-May-03 13:21 
AnswerRe: How can I include a pure "C" module in a MFC project Pin
Dave Bryant7-May-03 13:21
Dave Bryant7-May-03 13:21 
GeneralRe: How can I include a pure "C" module in a MFC project Pin
Cesario Simoes, jr8-May-03 4:55
Cesario Simoes, jr8-May-03 4:55 
GeneralExcel automation Pin
aluna7-May-03 12:21
aluna7-May-03 12:21 
GeneralRe: Excel automation Pin
Stephane Rodriguez.8-May-03 1:10
Stephane Rodriguez.8-May-03 1:10 
GeneralAdding Splash Screen in DLL Pin
iltallman7-May-03 10:55
iltallman7-May-03 10:55 
GeneralRe: Adding Splash Screen in DLL Pin
valikac7-May-03 11:28
valikac7-May-03 11:28 
GeneralRe: Adding Splash Screen in DLL Pin
Joe Woodbury7-May-03 11:58
professionalJoe Woodbury7-May-03 11:58 

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.