msvcrt Questions
1
Anyone knows what kind of UB is this? The following code deadlocks on jthread destruction when built with MSVC 19.29.30148, sometimes it deadlocks after std::cout and sometimes before.
This is some...
Ozell asked 18/9, 2023 at 10:31
3
i, and a few thousand other people, are getting an error being thrown by the Microsoft Visual C++ Runtime:
Which for the benefit of search engines, says:
Microsoft Visual C++ Runtime Library
...
Bunsen asked 18/11, 2009 at 1:17
2
How can you capture a DLL's stdout and/or stderr in Python on Windows? For example, this prints "hello" to stderr, but it should be possible to capture the "hello" as a string i...
6
This warning:
LINK : warning LNK4098: defaultlib 'MSVCRT' conflicts
with use of other libs; use /NODEFAULTLIB:library
is a fairly common warning in Visual Studio. I'd like to understand the exa...
Ottie asked 9/6, 2010 at 15:31
1
6
Solved
I've got this warning recently (VC++ 2010)
warning LNK4210: .CRT section exists; there may be unhandled static initializers or terminators
I'm assuming this is the Critical Section. It's been a w...
Quinate asked 30/6, 2011 at 1:11
1
Can someone please explain the difference between these? Internet lookup has confused me.
I am using VS2019.
6
Solved
In my inno setup RUN selection I force silent install of MSVCRT. I wonder how to make it install itself only if not yet installed?
This is what I call now:
Filename: {tmp}\vcredist_x86.exe; Param...
Stagecoach asked 21/6, 2012 at 11:44
3
Solved
I'm trying make a login window where a user is prompted to enter their Username and Password, although when the password is entered I am looking for asterisks to be printed, like common passw...
6
Solved
Compiled couple of .dll's using visual studio 2015, and tried to deploy on some older windows 7 / 64 bit. Tried also to guess which dll's are needed for application to start and copied MSVCP140.DLL...
Christoper asked 4/3, 2016 at 20:4
2
Solved
3
I've tried to read one char from the console in PyCharm (without pressing enter), but to no avail.
The functions msvcrt.getch() stops the code, but does not react to key presses (even enter), and m...
1
Solved
I am trying to import a C library into a Visual Studio project. The library ships with the following files:
msvcp140.dll
msvcp140_1.dll
msvcp140_2.dll
I understand that these are Microsoft C run...
1
Solved
I've been reading the implementation of the _countof macro in MSVC and found a detail I can't explain. It's implemented via a __crt_countof macro which on C++ is expanded to (sizeof(*__counto...
Bonnell asked 18/12, 2019 at 14:36
5
Solved
I'm using Visual Studio c++ Compiler ( 2010 ), but the library has different implementation of ANSI C and POSIX libraries function.
What is the difference between ANSI C function and Windows CRT ...
Sterrett asked 20/5, 2013 at 10:46
2
Solved
So here's a fun one...
we have a few C libraries which should be platform independent, even though they were developed on linux, because they only rely on the c standard library as defined in ISO/...
2
Solved
The symbol myLibrary!__scrt_stub_for_is_c_termination_complete+0x12345 appears in the stack trace of a crashed application. It is C++ compiled with MSVC2015 and heavily uses Qt.
myLibrary does not...
Journal asked 2/4, 2019 at 11:51
0
I am trying to get a handle on Windows stdout handles.
I need to understand why there are different handles for STDOUT (CONOUT$?)
and how to interpret these differences. I know there are differen...
Peers asked 14/12, 2018 at 8:32
2
Solved
I'm having code that, for various reasons, I'm trying to port from the C runtime to one that uses the Windows Heap API. I've encountered a problem: If I redirect the malloc/calloc/realloc/fre...
Pye asked 3/1, 2011 at 21:45
1
Solved
Im writting a simple python code that should detect the my keystrokes but for some reason in detects space after everysingle keystroke.
The code:
import msvcrt
print("press 'escape' to quit...")...
Litchfield asked 27/4, 2018 at 20:4
1
I'm compiling a program with Visual Studio 2017 that links with the precompiled static version of libusb, available here.
When I tried to link it I got some unresolved symbols like these and the a...
Maine asked 18/3, 2018 at 22:28
1
Solved
Preamble: This question is specifically concerned with, and only with, the behavior of the dynamic CRT used through /MD. It does not question the validity of any other recommendations wrt. DllMain....
Carlitacarlo asked 17/1, 2018 at 13:21
2
Solved
On Windows 8, we have an issue with FreeConsole. It seems to close the stdio handles, without shutting the file streams.
This may be a Windows 8 problem, or it could be that I simply don't underst...
Pola asked 1/10, 2012 at 15:29
2
What I am trying to do is make a simple pi memorization game in Python. What I need is a way to get input from the user without having to press 'enter' after every character. It sounds like I need ...
3
Solved
I have a large body of code, compiled with /MT (i.e. expecting to statically link against the CRT). I need to combine this with a static third-party library, which has been built with /MD (i.e. exp...
Insidious asked 12/8, 2010 at 16:25
1 Next >
© 2022 - 2024 — McMap. All rights reserved.