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
1 answer

Identity Certificates

How can we identify if a certificate is 'Identity' Certificate. I googled and found that PublicKey certificate are known as 'Identity Certificates'. So .crt or .cer are Identity certificates But at some places I see that .p12 are also referred to…
Manmay
  • 539
  • 2
  • 12
  • 28
0
votes
1 answer

Using exceptions without CRT

I want to use exceptions in my program. But my program have custom entrypoint and does not use CRT (C-runtime). My program is simple as this: MessageBox(NULL, L"exception will be thrown", L"ok", MB_ICONEXCLAMATION | MB_OK); try { …
Peter
  • 580
  • 8
  • 22
0
votes
0 answers

Why does my MFC dll not register if Platform is set to V110?

I've been working on a project for a little over a year now. Since I started the project it was first worked on in VS2008. Use of MFC was set to Shared Library. I got the project and since I didn't have VS2008 I upgraded the project to V100. When I…
Robert Snyder
  • 2,399
  • 4
  • 33
  • 65
0
votes
1 answer

Configure COM port with CRT functions

Is it possible to configure a COM port (bitrate, parity) on Windows using only CRT functions? Or must I use Win32 functions (CreateFile, SetCommState, ReadFile, WriteFile), to use it with the bitrate and parity I want?
Medinoc
  • 6,577
  • 20
  • 42
0
votes
1 answer

Missing crt0.o file with cross-i386 gcc

I can't find out why crt0.o or crt1.o are not provided for i386 targets by newlib as it is the case for powerpc, arm, etc. targets. ld requires it (and so do I to call static constructors).
Julio Guerra
  • 5,523
  • 9
  • 51
  • 75
0
votes
1 answer

Java with a compiled C dll issue

I have a java project in eclipse that contains a DLL that was compiled on a seperate machine. I am on Windows 7, 64 bit and eclipse is for 64 bit also. I am unable to compile the project, with error: "The application has failed to start because its…
user-123
  • 874
  • 1
  • 13
  • 34
0
votes
1 answer

Formatted text output to std::string object using std::ostream methods

I've made a function dump_text(std::ostream &) that dumps some text in a standard output stream. The text goes to a file or to the user console. Now, I want that text to end up in a standard string object (see the next code sample). void…
bert-jan
  • 958
  • 4
  • 15
0
votes
1 answer

Debugging heap corruption error in MS VC++ 2005

I am building an application whose output is libraries that end up being used by another client application. I recently discovered I was building my application in debug mode using /MDd for code generation (debug CRT libraries) and that the client…
squashed.bugaboo
  • 1,338
  • 2
  • 20
  • 36
0
votes
2 answers

CRT memory allocation

Our application allocates large std::vector<> of geometric coordinates - it must be a vector (which means contiguous) because it eventually sent to OpenGL to draw model. And Open GL works with contiguous data. At some moment allocation fails which…
IgorStack
  • 799
  • 2
  • 6
  • 22
-1
votes
2 answers

File RSA Decryption

I have a RSA Encrypted file & I want to decrypt it with C# in .NET I have the foll. parameters of (1024 bit enc) message(cipher text) to decrypt modulus public exponent private exponent prime p prime q prime exponent p prime exponent q CRT…
Akshay
  • 1,341
  • 2
  • 9
  • 18
-1
votes
1 answer

on Vista (SP2) 64-bit :Why is my C/C++ Runtime (CRT) Assembly cache not visible to my app?

hi to all VC++ and WIndows experts! ;) Firstly, my background: Vstudio, C & C++, Windows.(so you can get techy with me, if u want). After 5days of trying all kinds of possibilities, and forums and fixes and even changing O/S platforms , I've decided…
ImmortalBuddha
  • 51
  • 1
  • 1
  • 7
-1
votes
1 answer

Does this mean memory leak?

I have a c++ program and I want to tracking the heap memory when running int MyFunction(){ //do function logic here //do function logic here ..................... //Check memory state in heap at the end of function _CrtMemState…
Ryo
  • 995
  • 2
  • 25
  • 41
-1
votes
1 answer

How to link obj files without crt?

how to can i achieve linking 2 .o file without CRT. Compiling .c files: gcc -ffreestanding -c file.c -o file.o Linking: gcc file1.o file2.o -o f.o Flags -nostartfiles and -nostdlib don't help me.
Vitaliy
  • 7
  • 2
-1
votes
2 answers

Uses CRT how to negate anti scrolling?

I am currently using the CRT to allow for a delay to create a multitude of random numbers without having a bunch of numbers be the same (<- im terrible with grammar). so i used a writeln to see the numbers my script was generating and it wouldnt…
-1
votes
1 answer

Regarding formatting output using strcat

I need some help in converting following format using strcat function instead of s printf. const char* const MSG_STAMP_PRINTF_FORMAT = "%c %04d-%02d-%02d %02d:%02d:%02d.%03d"; char cMsgStamp[500]; char cSevChr = 'I'; struct tm gmt; // Calculate…
Venkata
  • 513
  • 1
  • 9
  • 15
1 2 3
24
25