I?m using RB 9.03 Enterpriseedition in my product. The next multilanguage release of the product must also be kompatible to WinVista.
In the previous releases the language files were deployed in c:\windows\system32, but writing to this folder (and removing files in case of uninstall) is not an good idea for Vista...
Is there any way we could deploy the language files in a custom folder and set this folder for rbPrint and rbIDE (e.g. in the registry)?
You can optionally place them in the same directory as the application .exe. Other options are available. The RB language modules are dll's that are loaded via the Windows LoadLibraryEx function. No path is specified when loading the language modules. Therefore Windows search order applies. I think Windows looks first in the current directory, then in the system directory and then looks in the directories specified by the Windows Path variable.
-- Nard Moseley Digital Metaphors www.digital-metaphors.com
Best regards,
Nard Moseley Digital Metaphors www.digital-metaphors.com
Comments
I?m using RB 9.03 Enterpriseedition in my product. The next multilanguage
release of the product must also be kompatible to WinVista.
In the previous releases the language files were deployed in
c:\windows\system32, but writing to this folder (and removing files in
case of uninstall) is not an good idea for Vista...
Is there any way we could deploy the language files in a custom folder and
set this folder for rbPrint and rbIDE (e.g. in the registry)?
Regards
Ralf Appenzeller
--- posted by geoForum on http://delphi.newswhat.com
You can optionally place them in the same directory as the application .exe.
Other options are available. The RB language modules are dll's that are
loaded via the Windows LoadLibraryEx function. No path is specified when
loading the language modules. Therefore Windows search order applies. I
think Windows looks first in the current directory, then in the system
directory and then looks in the directories specified by the Windows Path
variable.
--
Nard Moseley
Digital Metaphors
www.digital-metaphors.com
Best regards,
Nard Moseley
Digital Metaphors
www.digital-metaphors.com
Thanks for your reply! It wasn??t just what I wanted to hear but I??ve got
to come along with it.
Thanks for your help!
Regards
Ralf Appenzeller
--- posted by geoForum on http://delphi.newswhat.com