Re: Problem using ForeignToRTF32




"SteveS" <SteveSpencer@xxxxxxxxxxxxxxxxx> wrote in message
news:6F24E105-7DD1-4665-AADD-F735BA411CD8@xxxxxxxxxxxxxxxx
I agree with what Peter is saying. What context is the service running in?
Is
it LocalSystem account or whatever? There are issues with permissions on
DCOM
objects not being able to be started from certain accounts (rather than an
interactive user), which you may be running into.
--
Steve S

The service communicates through SOAP, not DCOM. It has administrative
priviledges. I have the problem if I run the service as a service, or simply
as an executable that happens to be listening on a port. I don't think its
any sensible permissions problem, given that I have debug code that opens
and closes the file just prior to calling ForeignToRTF. Also, the problem
does not occur with all of the conversion dlls, for example "WORKS632.CNV"
runs just fine, converting a MS Works file.



"Sterling Wight" wrote:

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?






.



Relevant Pages

  • Re: Dynamic volumes on WXPP SP2 make folder and file shares read o
    ... with the shares from WNT systems) on DEC Alpha) where the same shares had ... The permissions are the same as before the conversion to dynamic volumes. ... The permissions allow users of the Administrators and the System groups full ...
    (microsoft.public.windowsxp.network_web)
  • Re: Installed from CD, apps in "trial" mode
    ... I'm wondering if permissions in the prefs folder may be set wrong, ... Disk Utility) before running the remove office routine. ... Microsoft MVP, ...
    (microsoft.public.mac.office)
  • Re: How do I convert "System.mda" (Access97) to System.mdw ("Access200
    ... There is documentation there on desecuring I think. ... > 2.0 Access database) that has a workgroup file called "System.mda" which is ... > the hub in which all my users' permissions are housed. ... > The conversion will be to Access 2003. ...
    (microsoft.public.access.security)
  • Re: Possible Feature
    ... Just done a series of big DB changes and needed to recompile all the SPL ... I use 'LIKE' for the input parameters and local variables but you ... Having internal variables within a routine that are defined LIKE table.column is fine as these are used internally and if you modify the table the routine will be recompiled the next time it is run so no problems. ... the routine recompiles and the ESQL/C or ODBC library makes the appropriate automatic conversion from CHARto INTEGER. ...
    (comp.databases.informix)
  • Re: convert fat32 to ntfs question
    ... But note that conversion is a big step, ... FAT32 doesn't enforce user-based permissions, and NTFS ... afterward, or they might not run correctly, until the administrator ...
    (microsoft.public.windowsxp.basics)