Your browser does not seem to support CSS. If images appear below, please disregard them.
It appears that you're running an Ad-Blocker. This site is monetized by Advertising and by User Donations; we ask that if you find this site helpful that you whitelist us in your Ad-Blocker, or make a Donation to help aid in operating costs.
Previous Thread
Next Thread
Print Thread
Rate This Thread
#17790 - 08/01/02 04:14 PM Resource Files  
Joined: Mar 2002
Posts: 257
psychogen Offline
Member
psychogen  Offline
Member

Joined: Mar 2002
Posts: 257
UK
Hey,

I was wondering if anyone here has ever written Dynamic Link Libraries that will change the applications language.

What I am refering to is that I want to add multiple language settings to the Apps I write, especially one which is a new project for work and I need support for 2 languages atleast.

I have read a internationalisation article on msdn a couple of years back but I cant find it.

But I was also thinking of writing my own resource type of files, or settings files if u rather, such as *.ols (OfficeChat Language Settings). The files would be plain text but I doubt that I can be bothered to deal with that to much.

If anyone has written one before or has seen a sample code that will perform the job thouroughly then I would appreciate any feedback.

I can think of the basics behind it no problem just wondering if someone has already done this in order to cut my dev time on this.


The use of "hacker" to mean "security breaker" is a confusion on the part of the mass media. We hackers refuse to recognize that meaning, and continue using the word to mean, "Someone who loves to program and enjoys being clever about it."
--------------------
"Its not a bug, its a feature" (Epic Games)
Sponsored Links
#17791 - 08/01/02 04:19 PM Re: Resource Files  
Joined: Mar 2002
Posts: 1,273
SilentRage Offline
DollarDNS Owner
SilentRage  Offline
DollarDNS Owner

Joined: Mar 2002
Posts: 1,273
OH, USA
I have created resource files for text strings. While I did not use this for language flexibility, I read all about how it can be used for that. It's very simple really once you have the text tables complete.

As for creating dll's... I have made VB ActiveX dll's before (they're the only kind you can make with VB). As for accessing a resource file from an application that's stored in a dll... that I've never done before. But I can learn if need be.

How would you like me to help you?


Domain Registration, Hosting, Management
http://www.dollardns.net
#17792 - 08/01/02 04:22 PM Re: Resource Files  
Joined: Mar 2002
Posts: 257
psychogen Offline
Member
psychogen  Offline
Member

Joined: Mar 2002
Posts: 257
UK
Damn your fast!!!

I dont quite understand what you mean by the text tables?


The use of "hacker" to mean "security breaker" is a confusion on the part of the mass media. We hackers refuse to recognize that meaning, and continue using the word to mean, "Someone who loves to program and enjoys being clever about it."
--------------------
"Its not a bug, its a feature" (Epic Games)
#17793 - 08/01/02 04:40 PM Re: Resource Files  
Joined: Mar 2002
Posts: 1,273
SilentRage Offline
DollarDNS Owner
SilentRage  Offline
DollarDNS Owner

Joined: Mar 2002
Posts: 1,273
OH, USA
it's luck. I just happened to check right after you did. Well, text tables. You have a grid of words. You can access a particular record or column or something and choose the language number you're using and extract the proper word.


Domain Registration, Hosting, Management
http://www.dollardns.net

Member Spotlight
Gremelin
Gremelin
Portland, OR; USA
Posts: 7,195
Joined: February 2002
Show All Member Profiles 
Forum Statistics
Forums45
Topics46,767
Posts81,937
Average Daily Posts10
Members2,159
Most Online1,567
Apr 25th, 2010
Latest Postings
Top Posters(All Time)
UGN Security 39,931
Gremelin 7,195
§intå× 3,255
SilentRage 1,273
Ice 1,146
pergesu 1,136
Infinite 1,041
jonconley 955
Girlie 908
unreal 860
Top Liked Users (All Time)
§intå× Likes: 1
Cold Sunn Likes: 1
Crime Likes: 1
Cyrez Likes: 1
Ghost Likes: 1
Gremelin Likes: 4
Ice Likes: 1
unreal Likes: 1
Top Liked Users (30 Days)
Powered by UBB.threads™ PHP Forum Software 7.6.0
(Snapshot build 20160902)