Problem using ForeignToRTF32

Tech-Archive recommends: Fix windows errors by optimizing your registry



I am having a problem using the word conversion dll (MSWRD832.CNV). I call
the routine from two different programs. One is a typical MFC application,
and the conversion always works without a problem. The other is a service,
with no visible interface, and from there the conversion always fails,
returning -1 (could not open input file). This is true even though I pass
exactly the same arguments to the routine from both programs. Also, I tested
opening and closing the file just prior to calling the routine in debugging
code, and the file opens without complaint using standard file system calls.
I already tried adding an invisible window to my service, in case there is a
hidden dependency on having a window available from the calling program, but
that did not change any results. So I'm very puzzled. Anyone got an idea of
what kind of undocumented dependency the routine could have?



.


Quantcast