Click here to Skip to main content
13,043,491 members (53,070 online)
Rate this:
Please Sign up or sign in to 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.
Posted 12-Mar-13 20:13pm
Updated 12-Mar-13 20:19pm
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

Rate this: bad
Please Sign up or sign in to vote.

Solution 1

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.


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

  Print Answers RSS
Top Experts
Last 24hrsThis month

Advertise | Privacy | Mobile
Web02 | 2.8.170713.1 | Last Updated 13 Mar 2013
Copyright © CodeProject, 1999-2017
All Rights Reserved. Terms of Service
Layout: fixed | fluid

CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100