🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: borland.public.cppbuilder.internationalization
Article #91

Re: Resurce DLLs in a subfolder

#91
From: Hans Galema
Date: Mon, 14 Nov 2005 17:05
26 lines
1717 bytes
Joe wrote:

> Value:    ENG
> 
> So myAPP.exe will launch using the resources in myAPP.eng.

Why ? Please show the code where you load the DLL.

> So, I am not able to specify for the resources DLL a different path
> than that of the executable's path.

What has a Borland registry key to do with your myApp.exe ?
I can imagine that myApp.exe reads the "ENG" from the registry.
But after that it will load the DLL it self. Or am I wrong ?

>>By specifying the path when you load them !

Indeed. Specify the path. Preferably absolute. But maybe if
you now have
   load ( "myAPP.eng");
then try
   load ( "Lang\\myAPP.eng" );
or full path
   load ( ExtractFilePath(ParamStr(0)) + "Lang\\myAPP.eng" );

Hans.
Technical Details
Message-ID: <4378c3fa$1@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!g2news1.google.com!news3.google.com!news2.volia.net!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail
References: <437780fe@newsgroups.borland.com> <43789416$1@newsgroups.borland.com> <4378c0f0@newsgroups.borland.com>

Show Full Headers
Complete Article Headers
X-Google-Thread: 10297d,85baf43614268ac1
X-Google-Attributes: gid10297d,public
X-Google-Language: ENGLISH,ASCII-7-bit
Date: Mon, 14 Nov 2005 18:05:14 +0100
From: Hans Galema <notused@notused.nl>
User-Agent: Mozilla Thunderbird 1.0 (Windows/20041206)
X-Accept-Language: en-us, en
MIME-Version: 1.0
Newsgroups: borland.public.cppbuilder.internationalization
Subject: Re: Resurce DLLs in a subfolder
References: <437780fe@newsgroups.borland.com> <43789416$1@newsgroups.borland.com> <4378c0f0@newsgroups.borland.com>
In-Reply-To: <4378c0f0@newsgroups.borland.com>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
NNTP-Posting-Host: 145.98.201.248
Message-ID: <4378c3fa$1@newsgroups.borland.com>
X-Trace: newsgroups.borland.com 1131987962 145.98.201.248 (14 Nov 2005 09:06:02 -0700)
Lines: 26
Path: arc1-ca.pugleaf.net!g2news1.google.com!news3.google.com!news2.volia.net!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail