DaveF
February 6th, 2003, 04:34 PM
But they fail when I run the service out of Debug Mode.
I have tried this with the debug executible and the release executable.
the parameters are variants in the COM object so I'm using code similar to this:
_variant_t vParam = new _variant_t;
vParam.SetString(m_sLocalVar);
spIface->MyMethod(&vParam);
I set up Logging in the COM object so I could see what was being passed to the function.
When I run the service in debug mode everything works fine. When I launch the service from the Service Control window nothing is passed to the function.
Any ideas?
Thanks for the help,
Dave
I have tried this with the debug executible and the release executable.
the parameters are variants in the COM object so I'm using code similar to this:
_variant_t vParam = new _variant_t;
vParam.SetString(m_sLocalVar);
spIface->MyMethod(&vParam);
I set up Logging in the COM object so I could see what was being passed to the function.
When I run the service in debug mode everything works fine. When I launch the service from the Service Control window nothing is passed to the function.
Any ideas?
Thanks for the help,
Dave