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

Can't find MSVCP80.dll (side by side problem?)

when I try to start the release-version of my project from visual studio 2005 (SP1) I get the following error message: "This application has failed to start because MSVCP80.dll was not found. Re-installing the application may fix this problem" When…
Andreas Brinck
  • 51,293
  • 14
  • 84
  • 114
2
votes
1 answer

Seeking deeper understanding of Visual Studio C-runtime library link behavior

This is something I've just blindly accepted and followed as "the way it is". I'm trying to gain a deeper understanding of the "why" behind it. static library LibA - utulizes some C runtime calls static library LibB - utilizes some C runtime…
ribram
  • 2,392
  • 1
  • 18
  • 20
1
vote
1 answer

Detecting multiple linked C runtime on windows

I have some problems with one of the projects I am working on on windows (64 bits). The program sometimes crash, sometimes does not, and I suspect the problem to be linked with multiple linked C runtime. How can I detect this on windows ? I tried…
David Cournapeau
  • 78,318
  • 8
  • 63
  • 70
1
vote
1 answer

Where does _CrtDbgReportW ouput in Windows Mobile?

I am using ASSERTE macro to check for pre-conditions. According to its definition it is using ASSERT_BASE, which in turn calls _CrtDbgReportW to print out the message. Where does _CrtDbgReportW output goes to? I would assume that if the application…
Ignas Limanauskas
  • 2,436
  • 7
  • 28
  • 32
1
vote
1 answer

Which CRT version is bundled with .NET 3.5?

To minimize deployment package, I'd like to know the CRT versions which are already included in .NET redists. The info I've already gathered are: .NET 2.0 -> CRT 8.0.50727.42 .NET 2.0 SP1 -> CRT 8.0.50727.762 However, I cannot find the CRT versions…
Dudu
  • 1,264
  • 13
  • 14
1
vote
2 answers

using _set_se_translator and compilation flags

Documentation states that "You must use /EHa when using _set_se_translator.". My question is: should /EHa be used for all files in project/ all files in project that catch exceptions or just in the file that calls _set_se_translator ?
cprogrammer
  • 5,503
  • 3
  • 36
  • 56
1
vote
2 answers

C functions before mainCRTStartup on Mingw?

void start() { stuff(); //code before mainCRTStartup mainCRTStartup(); } int main() { //other code } In Visual C++,it compiles fine and function "stuff()" gets called before main. How would call "stuff()" before "mainCRTStartup()"? on…
ArchHaskeller
  • 1,270
  • 1
  • 12
  • 28
1
vote
1 answer

Can't link ml64 compiled assembly file using link.exe

The issue! I have started learning assembly language and am facing some difficulty compiling my program. option casemap:none .data fmtStr byte 'Hello, world!', 10, 0 .code externdef printf:proc main proc sub rsp, 56 lea rcx, fmtStr …
Sanmay Kant
  • 149
  • 8
1
vote
2 answers

What's the best way to distribute your SDK if the end user is required to link against the Debug CRT?

I work for a camera company and we provide an SDK for our customers. Historically we only provided a release build of our SDK that was built against the non-debug CRT. As part of our SDK package we provide a number of examples on how to use the…
Mat Gara
  • 13
  • 3
1
vote
2 answers

Are there any registry entries that indicate whether a specific C Run-Time is already installed?

I've been looking online and at my registry and I think not, but it would be nice if we could get a definitive answer on here. Just the run time, as in for re-use on the client side. I see it is possible for VC10,…
John
  • 6,433
  • 7
  • 47
  • 82
1
vote
1 answer

msvcr100 and msvcrt

I noticed that DLL compiled with the old VC6 (msvcrt.dll) still runnable and "callable" even into a DLL (or a program) that is linked against msvcr100.dll Very convenient, but do you just think it's a good idea to have both runtimes at the same time…
Stef
  • 3,691
  • 6
  • 43
  • 58
1
vote
1 answer

MSVC CRT Debug Heap assert passing C++ STL object across binary boundaries

We have a host application and a DLL both built with the same compiler settings etc both using the static CRT /MT. (tested with VS2019 and VS2022) Eventually we pass some simple structs that contain a couple STL objects, for example struct MyData { …
yano
  • 4,095
  • 3
  • 35
  • 68
1
vote
2 answers

Python key changer program

I have got a keyboard with a non-working windows key. I tried to fix it with Python if I press the > key, the program will press the windows key, but it's not working. Here's the code: import msvcrt import pyautogui while True: …
Charles
  • 7
  • 3
1
vote
0 answers

The "enter" key in pycharm only jumps to new line without sending my massege

I've tried every solution that I found on google so far and nothing seems to work... client_input = "" def listen_for_input(): # reads the input and adds to string returns whether pressed enter while msvcrt.kbhit(): # there is input waiting…
Dean
  • 11
  • 1
1
vote
1 answer

Statically link all dependences so that the end user will never be asked to install vc_redist.exe

I'm building a Windows executable with VS 2019. When I run it on my machine, it works, but I'm not 100% sure it will work for end users who don't have vc_redist.x64.exe version 2019. (Especially users on Win7 - it's in a niche where users still use…
Basj
  • 41,386
  • 99
  • 383
  • 673