How Trace in dll project??

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • aimslife

    How Trace in dll project??

    Hi,

    I created simple DLL project using vs2k5. I need to print debug statements
    in ouput window during debug mode. I tried to use TRACE macro in project and
    include windows.h header file but TRACE macro not work. Is there any similer
    way to print debug statement in simple dll??

    Regards,
    -aimslife
    ..


  • David Lowndes

    #2
    Re: How Trace in dll project??

    >I created simple DLL project using vs2k5. I need to print debug statements
    >in ouput window during debug mode. I tried to use TRACE macro in project and
    >include windows.h header file but TRACE macro not work. Is there any similer
    >way to print debug statement in simple dll??
    The recommended trace macro facility is now ATLTRACE2, however I
    believe the older TRACE macros should have worked so I don't
    understand why they haven't. Ultimately any such trace macros usually
    end up calling OutputDebugStri ng, which is the API responsible for the
    debug output.

    Dave

    Comment

    Working...