Print Page | Close Window

XTPResourceManager->SetResourceFile()

Printed From: Codejock Forums
Category: Codejock Products
Forum Name: Toolkit Pro
Forum Description: Topics Related to Codejock Toolkit Pro
URL: http://forum.codejock.com/forum_posts.asp?TID=17638
Printed Date: 19 May 2024 at 5:35pm
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: XTPResourceManager->SetResourceFile()
Posted By: ddlittle
Subject: XTPResourceManager->SetResourceFile()
Date Posted: 03 December 2010 at 5:41pm
I am testing SetResourceFile() to enable translations on some of my apps.  I found some sample code in CalendarDemoView.cpp, but it doesn't seem to switch languages, even though it loads the translations.toolkitpro.ResourceRu.dll (I also tried the .XML equivalent.  same result).
 
I was thinking maybe it was because my machine locale is 0x0409 (US English), but I don't know how to switch Locale for a single process.  SetLocaleInfo() does it system wide).
 
Any ideas??
 
Thanks!
 
- David



Print Page | Close Window

Forum Software by Web Wiz Forums® version 12.04 - http://www.webwizforums.com
Copyright ©2001-2021 Web Wiz Ltd. - https://www.webwiz.net