Click here to Skip to main content
15,904,653 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: How to ownerdraw a scrollbar inside a listbox? Pin
KellyR8-Dec-08 16:00
KellyR8-Dec-08 16:00 
QuestionNeeding help with finishing a program Pin
Zak Forlow7-Dec-08 16:03
Zak Forlow7-Dec-08 16:03 
AnswerRe: Needing help with finishing a program Pin
Member 41945937-Dec-08 16:44
Member 41945937-Dec-08 16:44 
AnswerRe: Needing help with finishing a program Pin
David Crow8-Dec-08 4:06
David Crow8-Dec-08 4:06 
QuestionAre std::list std::vector std::map thread-safe class? Pin
fantasy12157-Dec-08 15:25
fantasy12157-Dec-08 15:25 
AnswerRe: Are std::list std::vector std::map thread-safe class? Pin
Randor 7-Dec-08 17:43
professional Randor 7-Dec-08 17:43 
GeneralRe: Are std::list std::vector std::map thread-safe class? Pin
fantasy12158-Dec-08 4:14
fantasy12158-Dec-08 4:14 
QuestionLinking Error using GLUI ('MSVCRT' conflicts with use of other libs) Pin
LostPitch7-Dec-08 9:42
LostPitch7-Dec-08 9:42 
Hi,
I got this linking error trying to build a project using GLUI in VisualStudio2005 on a WinXP media center SP2 machine:

warning LNK4098: defaultlib 'MSVCRT' conflicts with use of other libs; use /NODEFAULTLIB:library

All the needed .dll, .lib, .h files are in the correct folders.
The libraries glui32.lib, glut32.lib, etc etc are correctly linked in the project properties.
As shown in http://www.codeproject.com/KB/bugs/linkererrors.aspx[^] I used the option Multi-Threaded Debug DLL in the code generation field of the C/C++ tab, in Project settings.

Last, I tried to add the MSVCRT library to the ignore list, and the program actually builds, but results in a crash when launched.
The only differences I see are that I started as "empty project" (not win32 console application) and I used options for debugging (I used Program database for edit and continue, disabled all the optimizations, and used a x86 machine as a target machine).

I'm getting quite mad to solve this, thank you in advance for any help

L.
AnswerRe: Linking Error using GLUI ('MSVCRT' conflicts with use of other libs) Pin
Jijo.Raj7-Dec-08 10:24
Jijo.Raj7-Dec-08 10:24 
GeneralRe: Linking Error using GLUI ('MSVCRT' conflicts with use of other libs) Pin
LostPitch7-Dec-08 14:11
LostPitch7-Dec-08 14:11 
QuestionRe: Linking Error using GLUI ('MSVCRT' conflicts with use of other libs) Pin
Randor 7-Dec-08 17:48
professional Randor 7-Dec-08 17:48 
AnswerRe: Linking Error using GLUI ('MSVCRT' conflicts with use of other libs) Pin
LostPitch8-Dec-08 2:18
LostPitch8-Dec-08 2:18 
GeneralRe: Linking Error using GLUI ('MSVCRT' conflicts with use of other libs) Pin
LostPitch8-Feb-09 5:34
LostPitch8-Feb-09 5:34 
QuestionBlock windows key Pin
dj44007-Dec-08 1:30
dj44007-Dec-08 1:30 
AnswerRe: Block windows key Pin
Code-o-mat7-Dec-08 1:43
Code-o-mat7-Dec-08 1:43 
QuestionScroll Bar Position Control Pin
Shivbalaji6-Dec-08 23:30
Shivbalaji6-Dec-08 23:30 
AnswerRe: Scroll Bar Position Control Pin
Graham Shanks7-Dec-08 11:21
Graham Shanks7-Dec-08 11:21 
GeneralRe: Scroll Bar Position Control Pin
Member 46517417-Dec-08 21:54
Member 46517417-Dec-08 21:54 
QuestionFind position of first occurrence of a case-insensitive string int stripos ( char* haystack, char* needle, int offset ) Pin
wizardzaw6-Dec-08 22:16
wizardzaw6-Dec-08 22:16 
AnswerRe: Find position of first occurrence of a case-insensitive string int stripos ( char* haystack, char* needle, int offset ) Pin
Jijo.Raj6-Dec-08 23:22
Jijo.Raj6-Dec-08 23:22 
GeneralRe: Find position of first occurrence of a case-insensitive string int stripos ( char* haystack, char* needle, int offset ) Pin
wizardzaw7-Dec-08 3:01
wizardzaw7-Dec-08 3:01 
QuestionThreads in MFC Pin
sushrut836-Dec-08 22:01
sushrut836-Dec-08 22:01 
AnswerRe: Threads in MFC Pin
Jijo.Raj6-Dec-08 23:01
Jijo.Raj6-Dec-08 23:01 
AnswerRe: Threads in MFC Pin
Hamid_RT7-Dec-08 5:20
Hamid_RT7-Dec-08 5:20 
AnswerRe: Threads in MFC Pin
David Crow8-Dec-08 4:11
David Crow8-Dec-08 4:11 

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.