🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: borland.public.cppbuilder.nativeapi
Article #11759

Re: add config data to end of file

#11759
From: Remy Lebeau (TeamB)
Date: Sat, 24 Jan 2004 01:59
19 lines
1681 bytes
"borland" <rogersmail@ntlworld.com> wrote in message
news:4011c9b5@newsgroups.borland.com...

> He wants these settings and images embeded into
> the standalone exe file, is this possible

Not easily.  Applications are not allowed to alter their own executable file
while it is still running.  Configuration should be stored elsewhere, either
in a separate file, or in the Registry.

As for the spashscreen, the simpliest solution without requiring the
application to be recompiled each time, is to make the application simply
look for a particular filename in a specific folder at runtime, and if found
then load and display it as needed.  The user/customer can then simply
provide the desired image file for each installation.


Gambit
Technical Details
Message-ID: <4011cfd3$1@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!archiver1.google.com!news2.google.com!news.maxwell.syr.edu!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail
References: <4011c9b5@newsgroups.borland.com>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 10cc67,9f584b16be099db2
X-Google-Attributes: gid10cc67,public
X-Google-ArrivalTime: 2004-01-23 18:09:32 PST
From: "Remy Lebeau \(TeamB\)" <gambit47.no.spam@no.spam.yahoo.com>
Newsgroups: borland.public.cppbuilder.nativeapi
References: <4011c9b5@newsgroups.borland.com>
Subject: Re: add config data to end of file
Date: Fri, 23 Jan 2004 17:59:01 -0800
Lines: 21
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2800.1158
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165
NNTP-Posting-Host: 67.22.138.253
Message-ID: <4011cfd3$1@newsgroups.borland.com>
X-Trace: newsgroups.borland.com 1074909139 67.22.138.253 (23 Jan 2004 17:52:19 -0700)
Path: arc1-ca.pugleaf.net!archiver1.google.com!news2.google.com!news.maxwell.syr.edu!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail