wpp error

EDN Admin

Well-known member
Joined
Aug 7, 2010
Messages
12,794
Location
In the Machine
Hi,
<div style="margin-left:40px Iam very new to wpp tracing.... i created a simple program with just one trace call... the file is givin compilation errors

Code:
<div style="text-align:left <span style="text-decoration:underline <span style="text-decoration:underline
<div style="text-align:left <span style="text-decoration:underline
<div class=codeseg>
<div class=codecontent>
<div class=codesniptitle><span style="width:100% Code Snippet
<span style="text-decoration:underline # incl<span style="text-decoration:underline ude <stdio.h>
# define WPP_CONTROL_GUIDS
WPP_DEFINE_CONTROL_GUID(temp, (FF2C5B0C, 70AE, 43b3, BA63, 3757C3A49647),
WPP_DEFINE_BIT(TRACE_DEBUG)
WPP_DEFINE_BIT(TRACE_CAT2))

# include "Temp.cpp.tmh"
int main(int argc, char** argv[])

{
WPP_INIT_TRACING(_T("Dummy"));
DoTraceMessage(TRACE_DEBUG, "dsfsd %s", "dummy");

    WPP_CLEANUP();
}


iam getting the following errors..

<div style="margin-left:40px TRACE_DEBUG undefined
WPP_CALL_Temp_cpp undefine {my file name is temp.cpp}

can some help me in solving this issue....


View the full article
 
Back
Top