M&M FDT 1.2.1 Online Specification
 4.10.4 Unicode


Interfaces and Methods   -   Schemas   -   FDT Specification   -   Quicklinks   -   Abbreviations

Up to FDT Specification

4.1 Overview of the FDT interfaces
4.2 FDT Objects
4.2.1 FDT Object Model
4.2.2 DTM State Machine
4.10 General Concepts
4.10.1 Task Related FDT Interfaces
4.10.2 Return Values of Interface Methods
4.10.3 Dual Interfaces
4.10.4 Unicode
4.10.5 Asynchronous vs. Synchronous Behavior
4.10.6 ProgIds
4.10.7 Slave Redundancy
4.10.8 Field Bus Scanning and DTM Assignment

4.10.4 Unicode

All string parameters to the FDT interfaces are BSTRs and are therefore UNICODE strings.
Microsoft MIDL Version 3.0 or later is required to correctly compile the IDL code and generate proxy/stub software. Microsoft Windows NT 4.0 (or later), or Windows 95 with DCOM support is required to properly handle the marshaling of FDT parameters.
Note that in order to implement FDT software that will run on both Microsoft Windows NT and Microsoft Windows 95, it is necessary for these components to test the platform at runtime. In the case of Microsoft Windows 95, usually the conversion of any strings to be passed to Win32 from UNICODE to ANSI needs to be done. Visual Basic makes this conversion implicitly.
The only limitation within this specification is that a NUL character (i.e.0) is only allowed as the last character of any BSTR method parameter to prevent conversion errors (UNICODE<->ANSI, uppercase<->lowercase, etc.) within the database.



© by M&M Software GmbH, parts of this website taken from FDT Interface Specification Version 1.2.1, © by FDT Group, AISBL.
This website is published for support of M&M products as granted in license conditions, chapter 2.1.
Last updated 2015-02-05 15:17
Email: FDT Technical Support Line.