Click here to Skip to main content
15,918,330 members
Please Sign up or sign in to vote.
4.00/5 (1 vote)
I have an exe which read CultureInfo from xml file and sets current thread CultureInfo (developed on some specific requirements). If nothing is defined in xml file then it always sets locale as en-US. I dont have the source code, only the exe. Is there any way to run this exe with different CultureInfo settings (ex.- using AppDomain or Process classes)...? basically I want to create a separate exe which sets the CultureInfo of current thread and then loads this exe. Please suggest other ways to do it. Hope I am clear.
Updated 12-Mar-13 20:19pm
Sergey Alexandrovich Kryukov 13-Mar-13 2:45am    
So clear that I even up-voted the question with 4, which happens quite rarely :-)
(For comparison, these days, up to half of the questions are so bad that they are removed immediately, often even with reports for abuse. :-)

1 solution

It depends on that EXE. If it uses hard-coded culture and does not provide any mechanism for changing culture, you hardly can do anything except… reverse-engineering it with modification of the code, which is, by the way, is not so hard to achieve.

Share this answer

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900