vb_1
13 years agoOccasional Contributor
Function Trace Profiler - Outputting Results Using a Custom DLL
Hello,
is there an example of a custom DLL doing tracing? I have a problem with compiling the AQPROF_PARAMETER_DATA struct. The VC++ 2010 does not recognize CVOID_PTR data type. I guess I am missing an include directive. For BSTR I had the same problem. Including "comutil.h" was enough to fix it, but CVOID_PTR is still undefined.
typedef struct AQPROF_PARAMETER_DATA
{
BSTR Type;
BSTR Value;
CVOID_PTR pNextParameter;
} AQPROF_PARAMETER_DATA, *PAQPROF_PARAMETER_DATA;
Best regards,
Vadym
is there an example of a custom DLL doing tracing? I have a problem with compiling the AQPROF_PARAMETER_DATA struct. The VC++ 2010 does not recognize CVOID_PTR data type. I guess I am missing an include directive. For BSTR I had the same problem. Including "comutil.h" was enough to fix it, but CVOID_PTR is still undefined.
typedef struct AQPROF_PARAMETER_DATA
{
BSTR Type;
BSTR Value;
CVOID_PTR pNextParameter;
} AQPROF_PARAMETER_DATA, *PAQPROF_PARAMETER_DATA;
Best regards,
Vadym