Forum Discussion

vb_1's avatar
vb_1
Occasional Contributor
13 years ago

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
  • aqAnt's avatar
    aqAnt
    SmartBear Alumni (Retired)

    Hello Vadym,


    Unfortunately, we don't have such an example. You can define CVOID_PTR like this: