dcsimg
CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 5 of 5

Thread: DLLs streams

  1. #1
    Join Date
    Nov 2003
    Posts
    12

    Cool DLLs streams

    I'm developing a DLL using Ms VC++ 6. Where the standard output for a DLL is redirected (I mean where for example messages from a printf are sent to?). Is it possible, at least, to redirect this stream to the development environment output window during debug phase?

    Faggio.

  2. #2
    Join Date
    Feb 2002
    Posts
    3,788

    Re: DLLs streams

    Originally posted by faggio
    I'm developing a DLL using Ms VC++ 6. Where the standard output for a DLL is redirected (I mean where for example messages from a printf are sent to?). Is it possible, at least, to redirect this stream to the development environment output window during debug phase?

    Faggio.

    what?

  3. #3
    Join Date
    Jan 2002
    Location
    Scaro, UK
    Posts
    5,940
    You can use TRACE statements inside of DLLs quite successfully.

    Darwen.

  4. #4
    Join Date
    Jan 2002
    Location
    Scaro, UK
    Posts
    5,940
    Providing of course that the dll is a debug version...

    Darwen.

  5. #5
    Join Date
    Sep 2003
    Location
    Forever Gone... For Now...
    Posts
    1,515

    Re: DLLs streams

    Originally posted by faggio
    I'm developing a DLL using Ms VC++ 6. Where the standard output for a DLL is redirected (I mean where for example messages from a printf are sent to?). Is it possible, at least, to redirect this stream to the development environment output window during debug phase?

    Faggio.
    Not sure, but does MS KB article 105305 (INFO: Calling CRT Output Routines from a GUI Application) help at all?
    Thought for the day/week/month/year:
    Windows System Error 4006:
    Replication with a nonconfigured partner is not allowed.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  


Windows Mobile Development Center


Click Here to Expand Forum to Full Width




On-Demand Webinars (sponsored)