formZ SDK | 5.0 API Reference | System | Runtime Library (FZRT) | Basic

fzrt_fzr_write_file

Description

Write the source resource file to the new destination using the current platform and language character set. The source floc parameter indicates the source folder of the resource file, and the destination floc designates where the result resource file is written. The base filename is used for both the source and destination resource files. The current language preference is used for both the source and destination filenames. The source and destination folders must be different. Comments inside the resource file are not preserved.

Plugin Prototype

fzrt_error_td fzrt_fzr_write_file(

const fzrt_floc_ptr

src_floc,

const fzrt_floc_ptr

dst_floc,

const char *

base_fname )

Parameters

src_floc [Input]

file locator of the source folder of resource file

dst_floc [Input]

file locator of the destination folder to write the new resource file

base_fname [Input]

base filename of the resource file. Filename without Language or file extension

Returns

FZRT_NOERR if successful, error ID otherwise.

Availability

5.0.0.0

Function Set

fz_fzrt_base_fset


Defined in

fzrt_api.h