You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@subversion.apache.org by Ulrich Eckhardt <ec...@satorlaser.com> on 2004/02/09 12:03:54 UTC

Setting locale for rapidsvn 0.5 in win32

Hi!
I hope this is considered on-topic here, I didn't find a user's list for rsvn.

The problem is that right after installation, the installer prompts whether it 
should start it. It then uses a localized version (german in my case). 
However, when starting it via the startmenu, it doesn't.

I found out that when I cd into the installation's bin/ dir, it does find the 
locale.

There is a hack to find out the program's filename via GetModuleFilename():

DWORD e = GetModuleFilename( NULL,0,0);
if(e==0)
   error("GetModuleFilename()");
TCHAR* buf = new TCHAR[e+1];
GetModuleFilename( NULL, buf, e+1);
// buf now contains the path to the executable

Of course, this is win32 only (ond maybe win64).

Until then, one workaround is set the working-dir in the shortcut that starts 
the program accordingly.

cheers

Uli


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org