Questions tagged [msvcrt]

MSVCRT is the Microsoft Visual C++ Runtime.

MSVCRT is the Microsoft Visual C++ Runtime. It is included in Microsoft Visual C++ Redistributable Package.

KB 2977003 lists supported Visual C++ runtime downloads from Visual C++ 2005 to 2015.

Visit C Run-Time Library Reference on MSDN to get more information.

483 questions
2
votes
1 answer

Windows SxS Redistributable Version Issue

I have a program that is refusing to run on some Windows 7 machines. Using sxstrace, the executable claims to want Microsoft.VC80.CRT/MFC version 8.0.50727.6195 and 8.0.50608.0. See below. > INFO: Parsing Manifest File C:\Program Files >…
kmort
  • 2,848
  • 2
  • 32
  • 54
2
votes
0 answers

Changing msvcrt.dll on Windows System

I'm using MinGW 4.8.0 (posix, dwarf-2) for building c++ code. Looking with dumpbin I noticed the MinGW links to msvcrt.dll that on my on Windows 7 is at the version 7.0.7601.17744 and on Windows Xp SP3 is at version 7.0.2600.5512. Well I want that…
Elvis Dukaj
  • 7,142
  • 12
  • 43
  • 85
2
votes
4 answers

Why does _get_heap_handle equal to GetProcessHeap?

According to this article, CRT uses separate heap (is it private heap?), but this little example shows that CRT heap and Default heap are the same: HANDLE heaps[64]; DWORD heapCount = GetProcessHeaps(64, heaps); for (int i = 0; i
nitrocaster
  • 306
  • 2
  • 15
2
votes
1 answer

cvQueryFrame produces msvcrt access error

new user here and fairly new to programming using OpenCV. I am using Visual Studio 2012, and have installed all OpenCV modules as per instructions have no problem running code to capture video stream and filter/ etc. I am trying to reproduce code…
evzdfx
  • 33
  • 3
2
votes
0 answers

tclmagick load error

I try to call in a Tcl script: load tclmagick.dll and get couldn't load library "TclMagick.dll": invalid argument I've tried the Dependency Walker, which tells me that the msvcrt.exe doesn't export a function named "__adjust_fdiv". However, I have…
Michael
  • 1,464
  • 1
  • 20
  • 40
2
votes
2 answers

Can a single process load/use mscvr100.dll and msvcr110.dll without causing problems?

An mixed-mode C++ application is built using VS2012, it references the managed DLL Noesis.Javascript.dll (which I believe was built with VS2010) which in turn links at runtime with msvcr100.dll. I have observed a crash which seems to show the code…
chillitom
  • 24,888
  • 17
  • 83
  • 118
2
votes
1 answer

What is msvcr80!_NLG_Return?

I have the following call stack in one of my crash-dumps: ChildEBP RetAddr Args to Child 1ac5f400 74e68ed7 1ac5feb4 1ac5f6d8 1ac5f420 mfc80u!ATL::CSimpleStringT::GetString (FPO: [0,0,0]) (CONV: thiscall)…
Martin Ba
  • 37,187
  • 33
  • 183
  • 337
2
votes
1 answer

MSVC2008 c/c++ console application spawns new console

Where does an application decide/cause to spawn a new console window (when linking dynamically)? Is there some define or pragma I may have overlooked or some change in standard behavior in the default runtime dlls? I don't feel very sure these are…
Sascha
  • 986
  • 10
  • 30
2
votes
2 answers

Use fprintf on a socket in Windows

I'm trying to use fprintf on a socket on Windows. Many of the online examples are UNIX examples. The equivalent code for Windows is what I'm asking about here. Ultimately, I'd like to do this: fprintf(file_handle_to_socket, "hello…
101010
  • 14,866
  • 30
  • 95
  • 172
2
votes
4 answers

Why does a C program crash if a large variable is declared?

I have the following C program compiled in Microsoft Visual Studio Express 2012: int main() { int a[300000]; return 0; } This crashes with a stack overflow in msvcr110d.dll!__crtFlsGetValue(). If I change the array size from 300,000 to…
Marplesoft
  • 6,030
  • 4
  • 38
  • 46
2
votes
4 answers

How to check which application is using msvcr80.dll?

I have a .exe that is compiled with MSVC2005 using release configuration. Problem is that when I distribute this .exe to others, they are getting this message: "This application could not be started, because the application configuration is…
chris yo
  • 1,187
  • 4
  • 13
  • 30
2
votes
1 answer

Using Gcc on Win32 and linking to msvcrt.dll

I know microsoft recommends against linking to the msvcrt.dll, so please spare me from that warning. They do it all the time in their software (like WinDbg) and they won't introduce breaking changes since all VC6 apps link against…
George
  • 15,241
  • 22
  • 66
  • 83
2
votes
1 answer

Conflicting Runtime Libraries in MSVC/VS2012

I know: this has already been addressed, but after reading as much as I could about this I still haven't been able to figure out why I haven't been able to fix it, or what to fix even. You see, according to this, there will be issues if your project…
zeboidlund
  • 9,731
  • 31
  • 118
  • 180
2
votes
1 answer

How to know the version of Microsoft's C runtime in use?

I have a program which depends on MSVCR90.dll, library which I'm shipping with it alongside the main executable among other things: ProgramFolder\Main.exe ProgramFolder\MSVCR90.dll I wanted to know if when a new update to it is available (fixing a…
James Russell
  • 339
  • 1
  • 3
  • 12
2
votes
2 answers

How to not link against msvcr100.dll?

I am compiling project in Visual Studio 10, compiled executable runs fine on win 7 but it doesnt works on win xp because of missing msvcrt100.dll. I tried to use "/NOTDEFAULTLIB" but it also removes some other external libs that i use. Is there way…
Cooker
  • 421
  • 1
  • 9
  • 19