CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 2 of 2
  1. #1
    Join Date
    May 2004
    Location
    London, England
    Posts
    563

    C Code debugging assitance

    I'm working with some C legacy code using the VC++ IDE. Is there a way I can use OutputDebugString to display messages into the output window?

    Or if I can't use C++ api's in a C environment, is there any other way?

    Regards
    I don't mind that you think slowly but I do mind that you are publishing faster than you think. Wolfgang Pauli, physicist, Nobel laureate (1900-1958)

  2. #2
    Join Date
    Apr 1999
    Posts
    27,449

    Re: C Code debugging assitance

    Quote Originally Posted by Vaderman
    I'm working with some C legacy code using the VC++ IDE. Is there a way I can use OutputDebugString to display messages into the output window?
    Is the program a Windows program? If so, just include <windows.h> and call the function.

    Regards,

    Paul McKenzie

Posting Permissions

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





Click Here to Expand Forum to Full Width

Featured