crt Questions

1

Solved

I'm trying to get a better grasp on the CRT library options in Visual Studio 2013 (C++ -> Code Generation -> Runtime Libary) and how to know which option to select (and when to change the default)....
Catchpenny asked 5/4, 2015 at 21:29

1

Solved

I'm trying to link directly using ld to isolate a build problem. When I include /usr/lib/gcc/x86_64-linux-gnu/4.7/libstdc++.so, I get a few issues: ac-aaa.o: In function `__static_initialization_...
Arvo asked 4/3, 2014 at 1:6

1

Solved

Quotes: From the document "Best Practices for Creating DLLs" http://download.microsoft.com/download/a/f/7/af7777e5-7dcd-4800-8a0a-b18336565f5b/DLL_bestprac.doc of Microsoft: "DLLs often have comp...
Parkinson asked 9/12, 2014 at 16:13

2

Solved

How to add ctr0.o ? I get this error: yagarto-4.7.2/bin/arm-none-eabi-ld: cannot find crt0.o: No such file or directory collect2: error: ld returned 1 exit status` while compiling very simple ...
Sturgeon asked 24/8, 2013 at 8:30

1

Solved

is there a tool in windows SDK to ckeck what CRT a library uses? for example I have a *.lib file, how do check if it's compiled with /MDd flag or /MT? also how to check the same for dll or exe? can...
Limicoline asked 13/8, 2014 at 11:5

5

CRT function atexit() could register a function to run after main function returns. I am wondering what's the typical scenario to use this? Is it (atexit) really necessary?
Phenacaine asked 4/8, 2014 at 9:33

4

For comparing any strings without considering their case, there are various C library functions such as strcasecmp(), stricmp() and stricmpi(). What is the difference between these?
Geisha asked 26/5, 2014 at 13:35

4

Solved

I can't run a debug sdk application because it requires both VC 8 and VC 9 versions of the CRT. But it only requires visual studio 2008 for plugin dev, which is what I need. How do I install the d...
Popularity asked 10/5, 2010 at 16:51

4

Solved

While investigating a memory link in one of our projects, I've run into a strange issue. Somehow, the memory allocated for objects (vector of shared_ptr to object, see below) is not fully reclaimed...
Rancorous asked 29/10, 2013 at 8:53

3

Solved

This is part of a series of at least two closely related, but distinct questions. I hope I'm doing the right thing by asking them separately. I'm trying to get my Visual C++ 2008 app to work witho...
Colorful asked 17/10, 2009 at 20:59

7

Solved

In Visual Studio, there's the compile flags /MD and /MT which let you choose which kind of C runtime library you want. I understand the difference in implementation, but I'm still not sure which o...
Tolly asked 16/4, 2009 at 18:22

2

Solved

I have read from Google that it is used for controlling buffer overruns at application level and it is called by CRT. It also says that " Essentially, on entry to an overrun-protected function, t...
Schermerhorn asked 13/11, 2013 at 4:43

3

Solved

I ran into a heap corruption today caused by different CRT settings (MTd MDd) in my dll and my actual project. What I found strange is that the application only crashed when I set the destructor in...
Forrest asked 8/7, 2013 at 16:28

1

Solved

I just installed Visual Studio 2013 and tried to create a "Hello World" console C++ app. I am trying to debug through the CRT source code but I am unable to do so. I notice that the source files ar...
Triboluminescent asked 26/10, 2013 at 6:45

2

Solved

I have a C++ code base that has been working for a long time. The code base was a legacy VS 2003 set of projects that I recently migrated to VS 2008. The migration seemed to be successful in that t...
Marqueritemarques asked 12/5, 2011 at 20:35

1

I'm back with C/C++ and ASM and I want to play a little bit with fire. I found out that when you compile and link code into an executable for Windows it is dynamically linked to some libraries that...
Maxillary asked 23/2, 2013 at 16:42

2

Solved

HI All, I have a .crt file and I need to get the associated keystore file. How to do so? Is keytool is helpful in that? Thanks.
Tybi asked 26/10, 2010 at 10:4

2

So I understand that CreateThread and the CRT can result in memory leaks, signal doesn't work, and one should use the _beginthread or _beginthreadex functions. That is all very well when writing a...
Lynden asked 4/8, 2012 at 12:5

3

Solved

The fopen function returns a pointer to a FILE structure, which should be considered an opaque value, without dealing with its content or meaning. On Windows, the C runtime is a wrapper of the Win...
Calefaction asked 21/10, 2010 at 16:11

1

Solved

In TurboPascal program i took an advantage of DOS processed output and use Tab control character to form columns in the output: const Tab = #09; ... Writeln(X, Tab, F(X)); However, when i tried ...
Extenuatory asked 11/6, 2012 at 16:58

5

Solved

When writing a C++ application, I normally limit myself to C++ specific language features. Mostly this means using STL instead of CRT where ever possible. To me, STL is just so much more fluid and...
Blaisdell asked 23/5, 2012 at 17:8

4

Solved

I need asymmetric encryption in java. I generate .key and .crt files with own password and .crt file by openssl that said in http://www.imacat.idv.tw/tech/sslcerts.html . How to use these .key and ...
Idio asked 26/6, 2011 at 6:20

0

I have a situation in which malloc() returns NULL and sets errno to ENOMEM. But the CRT heap (which is growable) has plenty of memory to work with. At the time of malloc, my process memory is about...
Cuvette asked 3/12, 2011 at 19:17

2

Solved

How can I convert .crt to .pem?
Amaranth asked 14/1, 2011 at 13:49

4

A C++ program that uses several DLLs and QT should be equipped with a malloc replacement (like tcmalloc) for performance problems that can be verified to be caused by Windows malloc. With linux, th...
Contemptuous asked 13/5, 2009 at 15:15

© 2022 - 2024 — McMap. All rights reserved.