"Aaron Kaplan" <[EMAIL PROTECTED]> writes:
> In other words:
>
> web client <----> httpd <----> module + xerces <-----> backend in C
> ^
> |
> |
> |
> v
> database
[snip]
> The calling C backend always holds a void* pointer to the current
> DOM_Node, or DOMParser object.
>
> Memory keeps growing and growing int the C interface.
Seems like keeping around pointers might be a source of potential
problems.
> Would you rather recommend using a C++ class to wrap things up instead of
> using C functions which are compiled with C++ ?
That would be the way *I* would prefer to do it. I'm not sure what
restrictions you are dealing with that caused you to do it in C in the
first place. I find it *much* simpler to call C functions from within
C++ rather than the other way around...
That way the backend would be written in C++ and communicate with the
database C functions...
No guaruntees that this will solve your problem, but it seems
simpler.
jas.
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]