There is no place where the "locale language" is stored as such. It is by 
the way of specific dlls that languages are "changed", particularly via 
MIRESnnn.dll

The trick with that solution is to find the proper string that will identify 
the language univocally. The example of the "message" window is to the 
point: "message" cannot distinguish between French and English, but it can 
be sufficient for "detecting" German.

I had started some "collective" search on the subject long time ago. But my 
archives are locked on my regular machine that has been on the blink for few 
days now. Anyone interested on the subject will have to wait few more days 
for my findings, but can already be �recognized".

Jacques Paris
www.paris-pc-gis.com


Markus Lindner <[EMAIL PROTECTED]> said:

> Hello List,
> 
> Thanks to Keith for his efforts, but i now
> found out a MapBasic - only way to find out
> the localized Version of MapInfo.
> 
> I use the WindowInfo Function to Query the Name
> of the Message Window and then compare it with
> the real Names:
> 
> english: "Message"
> german: "Nachricht"
> 
> WindowInfo(WIN_MESSAGE,WIN_INFO_NAME)
> 
> This is a quick solution, so i do not have to use any Win-Api
> Functions or even search the registry.
> 
> We will have to wait until the .NET Versions and then we will have
> easy access to these Infos.
> 
> Regards
> 
> Markus
> --
>  Markus Lindner                             CISS TDI GmbH
>  Tel. +49 2642 97 80 0                      Barbarossastra�e 36
>  Fax. +49 2642 97 80 10                     53489 Sinzig, Germany
>  mailto:[EMAIL PROTECTED]                   http://www.ciss.de/
>  Sitz der Gesellschaft: Sinzig              AG Andernach, HR-Nummer 3357
>  Gesch�ftsf�hrer: Dipl.-Math. Joachim Figura, Dipl.-Inform. Berthold B�rk
> 
> 
> ---------------------------------------------------------------------
> List hosting provided by Directions Magazine | www.directionsmag.com |
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> Message number: 9070
> 



-- 




---------------------------------------------------------------------
List hosting provided by Directions Magazine | www.directionsmag.com |
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
Message number: 9073

Reply via email to