Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > C++ > CRT linkage with shared library and application

Thread Tools

CRT linkage with shared library and application

Posts: n/a
Windows application links dynamically CRT.
It executes some code in particular reopens stdout in file (freopen).
After it the application exloads shared library.The shared library is
linked statically with CRT.

My question is :

Everythng what is written from dll goes to the file also.Whats is the
reason for that ?

Reply With Quote

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
c++ linkage vs c linkage C++ 1 09-12-2008 11:41 AM
global variable is shared in shared library C Programming 1 07-15-2008 04:26 PM
CRT (C runtime library) June Lee C++ 1 04-02-2008 01:21 AM
Shared Library Exceptions & Vague Linkage akennis C++ 7 07-26-2006 08:30 PM
Problem: shared object loading runs constructor of a static object, but static linkage does not. tropos C++ 3 11-30-2005 04:54 PM