Questions tagged [crt]

For issues relating to utilizing the C runtime library.

The C runtime library is a special program library used by a compiler, to implement functions built into the C programming language, during the execution (runtime) of a computer program.

Not to be confused with CRT terminals.

364 questions
0
votes
0 answers

Link with custom function instead of crt one

I'm working on an application which defines it's own printf() to get around differences between the different CRTs out there or because some other platforms don't have it. When building the application with gcc this automatically seems to work and…
stijn
  • 34,664
  • 13
  • 111
  • 163
0
votes
3 answers

C++ | Windows - Passing STL objects to DLL

I have seen some very well questions but I decided I would ask my own because they weren't quite what I wanted to know. There was a lot of talk about how you shouldn't pass std::string into a function (from a DLL) because everything has to match…
Trevin Corkery
  • 651
  • 7
  • 19
0
votes
1 answer

Getting Certificates from Java Keystore

I am using Java Keystore to generate domain.csr, domain.keystore and domain.cer. I need to secure the domain using SSL for which I need domain.crt and domain.key. How can I get these two? Is there any difference between domain.csr and domain.crt or…
saurg
  • 327
  • 1
  • 3
  • 17
0
votes
2 answers

Make Visual Studio 2008 use 8.0 CRT Libraries?

is there a simple way to make Visual Studio 2008 use 8.0 CRT libraries in my c++ project? I really do not want to install Visual Studio 2005 just to do this. Thanks
Phil
  • 231
  • 1
  • 3
  • 7
0
votes
0 answers

What is the crt0.o error when cross compiling and how do I fix it?

The project I am working on at the minute must be compiled using a cross compiler. My binutils and gcc have been installed into ~/opt/cross, however when I try to compile, I am faced with this…
user6277141
0
votes
1 answer

Instaling SSL on apache2

I've obtained an SSL certificate from Comodo. I try to install it on an apache server using the following steps: Upload to the directory /home/perica these files: bedbids_com.crt bedbids_com.key bedbids_com.ca-bundle Edit …
Andrew
  • 2,128
  • 3
  • 24
  • 42
0
votes
0 answers

Could this be related to Universal CRT refactoring?

I am in the process of upgrading my projects to VS 2015 and only in Debug|x64 configuration I am running into a couple of linker errors when my static library (XXXXX.lib) is being consumed by a DLL: 6>XXXXX.lib(stdafx.obj) : error LNK2019:…
ForeverLearning
  • 6,352
  • 3
  • 27
  • 33
0
votes
1 answer

GNU as, puts works but printf does not

This is the code I am playing with right now: # file-name: test.s # 64-bit GNU as source code. .global main .section .text main: lea message, %rdi push %rdi call puts lea message, %rdi push %rdi call printf …
Dmytro
  • 5,068
  • 4
  • 39
  • 50
0
votes
0 answers

make error about CRT2.o

I use MinGW+msys. I’m trying to install OpenCASCADE as following instruction. https://sites.google.com/site/philippeguerville/home/build-opencascade-for-windows-with-mingw I’ve already installed libpng freeglut FreeImage freetype. gl2ps and oce have…
user1345414
  • 3,745
  • 9
  • 36
  • 56
0
votes
0 answers

_CrtMemDumpAllObjectsSince suddenly reports 700 allocations after one call to realloc

I suspect I have some memory leaks problem so I defined two functions that I can call from the immediate window while stepping through my code: _CrtMemState s1; void SetMemCheckPoint() { _CrtMemCheckpoint(&s1); } void CompareMemory() { …
ThreeStarProgrammer57
  • 2,906
  • 2
  • 16
  • 24
0
votes
1 answer

Crash in free()

I have several crash reports from an iOS app that stem from a SIGABRT in a free() call. The call stack is consistent: 0 libsystem_kernel.dylib 0x3863c1f0 __pthread_kill + 8 1 libsystem_c.dylib 0x385ecfdd abort +…
Seva Alekseyev
  • 59,826
  • 25
  • 160
  • 281
0
votes
1 answer

How to load self-signed certificate into certificate store

I want to load a self-signed certificate created by OpenSSL to the local windows cert storage. OpenSSL: 1.0.1l OS: Windows 7 N I created the certificate with the OpenSSL library and used the following commands: openssl genrsa -des3 -out mykey.key…
Leviathan
  • 928
  • 1
  • 6
  • 15
0
votes
1 answer

I'm having an issue linking the standard crt when using clang in linux with c++

I'm working on porting a windows project to linux so I am trying to learn/setup my build pipeline on linux(ubuntu). I use clang on windows and would like to use clang/llvm to compile my code on ubuntu but I am having an issue linking the c runtime…
Edited Content
  • 187
  • 1
  • 2
  • 10
0
votes
1 answer

MSVCRT backwards compatible?

let's say that DLL A as the CRT 8.0.50727.762 as dependency. This DLL is used in a exe project that is linked dynamically (/MD) with "Use Of MFC" = "Use Standard Windows Libraries". Both the DLL and the project using the DLL are using VS 2005, yet…
joste
  • 77
  • 1
  • 7
0
votes
2 answers

Raster Scan in CRT display

In raster scan when the beam reaches the right-hand side of the screen it undergoes a process known as horizontal flyback, in which its intensity is reduced and it is caused to "fly back" across the screen (the top-most mauve line). While the beam…
Jessica
  • 685
  • 1
  • 9
  • 23