Hi, Timo.

>>Second. Lot of API's not presented yet in FPC tree. This work not requires 
>>deep C or Pascal knowlidges. Required translation of OS/2 Developers Tookit 
>>C .h headers to 
>>pascal units.
>Maybe I can try this. What exactly do I have to do? Where are the
>sources to change, how/which compiler to use. Pls help.
First of all you must have following things:
- OS/2 Developer Toolkit (or any other source of headers)
- LxLite (from hobbes)

Conversion steps:
- Select conversion headers (i.e. sockets, tcp/ip, mmpm/2, pm, som, rexx, etc.)
- Find functions decription in docs
- Convert. I.e.:

-------------------
UniCompleteUserLocale

UniCompleteUserLocale is used to finish a locale modification. This API is called 
after 
one or more UniSetLocaleItem calls to cause the new user
defined locale file to be saved. 

Format 


#include <unidef.h>

int UniCompleteUserLocale 
    (void) 



Parameters 

None required. 

Returns   

return value  (int)  -  returns  
    UniCompleteUserLocale returns one of the following values: 
    ULS_SUCCESS   
        Successful completion; overridden items have been written to a file. 
    ERROR_OPEN_FAILED   
        DosOpen failed to open the locale file. 
    ERROR_ACCESS_DENIED   
        DosWrite failed due to denied access. 
    ULS_NOMEMORY 
          Insufficient memory to create a buffer for writing the new locale. 

Remarks 

UniCompleteUserLocale is used to complete the process of defining a new locale or 
modifying an existing locale. An application will use the
UniQueryLocale API's and UniSetUserLocaleItem API to take an existing locale 
definition and customize that definition to form a new locale.
When the customization process is complete, the UniCompleteUserLocale API is 
invoked to save the results as a new locale. 

The result of calling this API is that the locale is saved to disk as a new user 
locale or 
changes to an existing locale are saved to disk to represent the
newly created locale. 

Related Functions 

    UniDeleteUserLocale 
    UniMakeUserLocale 
-------------------

int UniCompleteUserLocale (void) 

equal to

function UniCompleteUserLocale: Integer;

Search for corresponding dll (in docs or other references)

Use LxLite to find ordinal number.

Extend to

function UniCompleteUserLocale: Integer; cdecl; external 'unidll' index DIGIT;

Sometimes can be used name instead of ordinal.

Start something and ask on each step if you have problems. I'll answer.


Bye



-----------
To unsubscribe yourself from this list, send the following message
to [EMAIL PROTECTED]

     unsubscribe sibyl
     end

Reply via email to