Click here to Skip to main content
15,895,084 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
Questionwhy does CListCtrl.InsertItem return -1? Pin
/*Trucker*\4-Sep-05 12:40
/*Trucker*\4-Sep-05 12:40 
AnswerRe: why does CListCtrl.InsertItem return -1? Pin
Christian Graus4-Sep-05 14:24
protectorChristian Graus4-Sep-05 14:24 
GeneralRe: why does CListCtrl.InsertItem return -1? Pin
/*Trucker*\4-Sep-05 16:39
/*Trucker*\4-Sep-05 16:39 
Questionrefactoring tool Pin
wb4-Sep-05 11:47
wb4-Sep-05 11:47 
AnswerRe: refactoring tool Pin
Christian Graus4-Sep-05 11:59
protectorChristian Graus4-Sep-05 11:59 
QuestionIExplorer 6 runtime error! Pin
EA6_Panther4-Sep-05 8:48
EA6_Panther4-Sep-05 8:48 
AnswerRe: IExplorer 6 runtime error! Pin
Jose Lamas Rios4-Sep-05 19:33
Jose Lamas Rios4-Sep-05 19:33 
GeneralRe: IExplorer 6 runtime error! Pin
EA6_Panther5-Sep-05 2:05
EA6_Panther5-Sep-05 2:05 
Eg when I try to run Internet Explorer then Visual C++ 6.0 causes a runtime error
due to the visual c++ runtime libraries .The explanation that is given in this article
is that when msvcirt.dll (or msvcrt.dll ) is used with /MD compiler directives a runtime error
occurs in Windows XP SP2 when Visual Studio 6.0 is installed, which I am positive about is the root of this problem .Also I am referring to this article because I am convinced in doing so .
I quote:

C Run-Time Library (without iostream) Characteristics Option Defined
LIBC.LIB Single threaded, static link /ML
LIBCMT.LIB Multithreaded, static link /MT _MT
MSVCRT.LIB Multithreaded, dynamic link (import library for MSVCRT.DLL) /MD _MT, _DLL

Standard C++ Library Characteristics Option Defined
LIBCP.LIB Single threaded, static link /ML
LIBCPMT.LIB Multithreaded, static link /MT _MT
MSVCPRT.LIB Multithreaded, dynamic link (import library for MSVCRT.DLL) /MD _MT, _DLL

Old Iostream Library Characteristics Option Defined
LIBCI.LIB Single threaded, static link /ML
LIBCIMT.LIB Multithreaded, static link /MT _MT
MSVCIRT.LIB Multithreaded, dynamic link (import library for MSVCIRT.DLL) /MD _MT, _DLL


Now check this!This problem may occur when you use the /GR and the /MD compiler switches, and the version of the Msvcrt.dll file and of the Msvcirt.dll file is 7.0.x.

Thus When I run my custom Microsoft Visual C++ 6.0 program in Microsoft Windows XP, I receive the following error message:
This application has requested the Runtime to terminate it in an unusual way. Please contact the application's support team for more information.


I perform a search on MyComputer after "msvcirt.dll" and found several versions installed.
However in windows\system32 there is version 7 (cf article that I quote ) which is the same
latest version of a visual c++ runtime library.A Hotfix resolve this problem but i cannot obtain this via internet.I hope I have stated my problem clear .
I will be grateful of help or information on this matter.



Questionwindows forms extremely newbie question Pin
newbie progammer4-Sep-05 8:15
sussnewbie progammer4-Sep-05 8:15 
AnswerRe: windows forms extremely newbie question Pin
User 66584-Sep-05 10:33
User 66584-Sep-05 10:33 
AnswerRe: windows forms extremely newbie question Pin
Christian Graus4-Sep-05 10:41
protectorChristian Graus4-Sep-05 10:41 
QuestionMemory leak! need help Pin
Evil_Twin4-Sep-05 4:04
Evil_Twin4-Sep-05 4:04 
AnswerRe: Memory leak! need help Pin
Christian Graus4-Sep-05 10:42
protectorChristian Graus4-Sep-05 10:42 
AnswerRe: Memory leak! need help Pin
John M. Drescher4-Sep-05 12:58
John M. Drescher4-Sep-05 12:58 
QuestionPictures in Html Help Workshop Pin
a_kiani4-Sep-05 3:12
a_kiani4-Sep-05 3:12 
AnswerRe: Pictures in Html Help Workshop Pin
S Douglas4-Sep-05 20:52
professionalS Douglas4-Sep-05 20:52 
AnswerRe: Pictures in Html Help Workshop Pin
Marc Soleda4-Sep-05 21:06
Marc Soleda4-Sep-05 21:06 
QuestionKey codes to name Pin
Gadjuka4-Sep-05 2:52
Gadjuka4-Sep-05 2:52 
AnswerRe: Key codes to name Pin
Christian Graus4-Sep-05 10:43
protectorChristian Graus4-Sep-05 10:43 
AnswerRe: Key codes to name Pin
Anonymous4-Sep-05 14:18
Anonymous4-Sep-05 14:18 
GeneralRe: Key codes to name Pin
Gadjuka4-Sep-05 23:40
Gadjuka4-Sep-05 23:40 
Question.NET Application books Pin
hcmuns4-Sep-05 1:59
susshcmuns4-Sep-05 1:59 
QuestionHow to use CByteArray to store large data into Oracle database Pin
snprani4-Sep-05 1:21
snprani4-Sep-05 1:21 
Questionneeded help for template in template problem in vc++ Pin
Member 22477494-Sep-05 1:00
Member 22477494-Sep-05 1:00 
AnswerRe: needed help for template in template problem in vc++ Pin
Axter4-Sep-05 1:58
professionalAxter4-Sep-05 1: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.