[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Setting locale for rapidsvn 0.5 in win32

From: Ulrich Eckhardt <eckhardt_at_satorlaser.com>
Date: 2004-02-09 13:03:54 CET

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
Received on Mon Feb 9 13:05:08 2004

This is an archived mail posted to the Subversion Users mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.