The debug must be coming from powerpro.exe. I have done everything possible and
still get the ctx_debug.txt file. In fact I set the pprodebug.h file like this:
#ifndef PPRODEBUG_H
#define PPRODEBUG_H 1
//#define PPRO_DEBUG_ON 0
//#ifdef PPRO_DEBUG_ON
//#define PPRO_DEBUG_FILE (TEXT("C:/program files
(x86)/powerpro/ctx_debug.txt"))
//#define PProLog(w,x,y,z) PProLog_((w),(x),(y),(z))
//void PProLog_(LPTSTR sz1, LPTSTR sz2, UINT u1, UINT u2);
//#else
#define PProLog(w,x,y,z)
//#endif // if debug defined
#endif // if pprodebug_h
I've even modified the pprodebug.h to be this:
#ifndef PPRODEBUG_H
#define PPRODEBUG_H 1
#define PProLog(w,x,y,z)
#endif // if pprodebug_h
Recomiled and rebooted. I still am getting the ctx_debug.txt file somehow.
--- In [email protected], "brucexs" <bswit...@...> wrote:
>
> --- In [email protected], "excesspapers" <excesspapers@> wrote:
> >
> > How do I disable logging? I tried to modify pprodebug.h to set #define
> > PPRO_DEBUG_ON 0 but I am still getting entries in the ctx_debug.txt file.
>
> Comment out or remove the define.
>
> #ifdef
> check to see if a define statement exists, regardless of the value. (Maybe
> #define PPRO_DEBUG_ON
> with no value will work too, I don't usually do it that way so not sure).
>
>
> >
> > --- In [email protected], "brucexs" <bswitzer@> wrote:
> > >
> > > --- In [email protected], "excesspapers" <excesspapers@> wrote:
> > > >
> > > > Sweet success!!!!!!!!!
> > > >
> > >
> > >
> > > Great, good for you.
> > >
> > > When you have a chance, can you post the built exe and dll (with logging
> > > compiled out?).
> > >
> >
>