STDMETHODIMP CUUEngine::get_OutputPath(BSTR *pVal) { MString wrk; ue.UUGetOption(UUOPT_SAVEPATH, NULL, wrk.GetBuffer(MAX_PATH + 4), MAX_PATH); wrk.ToBSTR(pVal); return S_OK; }
STDMETHODIMP CUUEngine::get_LibVersion(BSTR *pVal) { MString wrk; ue.UUGetOption(UUOPT_VERSION, NULL, wrk.GetBuffer(), MSTRING_DLEN); wrk += " " __DATE__ " " __TIME__; wrk.ToBSTR(pVal); return S_OK; }