TRVOfficeConverter.ErrorCode (read-only)

<< Click to display table of contents >>

TRVOfficeConverter.ErrorCode (read-only)

Returns error code of the last performed import or export operation (if it failed)

property ErrorCode: Integer;

(introduced in version 1.7)

Error codes returned by the component:

Constant

Value

Meaning

rvceCnvLoadError

1

error loading converter's DLL

rvceFuncError

2

required function is not found in the converter's DLL

rvceInitError

3

converter initialization failure

Some (not all) error codes returned by converters:

Constant

Value

Meaning

rvceOpenInFileErr

-1

could not open input file

rvceReadErr

-2

error during read

rvceOpenConvErr

-3

error opening conversion file

rvceWriteErr

-4

error during write

rvceInvalidFile

-5

invalid data in conversion file

rvceOpenExceptErr

-6

error opening exception file

rvceWriteExceptErr

-7

error writing exception file

rvceNoMemory

-8

out of memory

rvceInvalidDoc

-9

invalid document

rvceDiskFull

-10

out of space on output

rvceDocTooLarge

-11

conversion document too large for target

rvceOpenOutFileErr

-12

could not open output file

rvceUserCancel

-13

conversion canceled by user

rvceWrongFileType

-14

wrong file type for this converter