CRT linkage with shared library and application

Discussion in 'C++' started by bil050, Apr 20, 2012.

  1. bil050

    bil050 Guest

    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 ?
     
    bil050, Apr 20, 2012
    #1
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. tropos
    Replies:
    3
    Views:
    483
  2. akennis
    Replies:
    7
    Views:
    803
    Peter
    Jul 26, 2006
  3. June Lee

    CRT (C runtime library)

    June Lee, Apr 2, 2008, in forum: C++
    Replies:
    1
    Views:
    378
    Ian Collins
    Apr 2, 2008
  4. Replies:
    1
    Views:
    1,331
    santosh
    Jul 15, 2008
  5. Replies:
    1
    Views:
    613
    Michael DOUBEZ
    Sep 12, 2008
Loading...

Share This Page