🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Re: Custom Shutdown

#10369
From: Malcolm Smith
Date: Tue, 20 Apr 2004 21:02
39 lines
2340 bytes
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Reliability\Use
rDefined\3081

and then key PCS;64;0 with string value "title\n\rdescription"

I just realised I am using TRegistry->WriteString for the comment
information instead of a multi-line string.

1. How do you write a multi-line string in BCB - do I need use
TRegistry->WriteBinaryData instead

2. Would (1) have an effect on the method working.

-- 
---
Malcolm Smith
MJ Freelancing
http://www.mjfreelancing.com
Borland Technology Partner


"Remy Lebeau (TeamB)" <gambit47.no.spam@no.spam.yahoo.com> wrote in message
news:40858c51$1@newsgroups.borland.com...
>
> "Malcolm Smith" <mjfreelancing@optusnet.com.au> wrote in message
> news:40858781$1@newsgroups.borland.com...
>
> > I'm using IntToStr(TSysLocale.DefaultLCID) for the locale ID.
> >
> > In fact I went one step further and had my code create
> > all registry entries based on C++Builder's TLanguages type.
>
> What are your EXACT key names?
>
>
> Gambit
>
>
Technical Details
Message-ID: <40859012$1@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!news.glorb.com!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail
References: <4084732e@newsgroups.borland.com> <4084916b$1@newsgroups.borland.com> <4084b480$2@newsgroups.borland.com> <4084b95d@newsgroups.borland.com> <4084bc41@newsgroups.borland.com> <4084d570$1@newsgroups.borland.com> <4084e3a3$1@newsgroups.borland.com> <8lta80h2sdag0frrsbne47t34nfqiafvmo@4ax.com> <40858781$1@newsgroups.borland.com> <40858c51$1@newsgroups.borland.com>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 10cc67,362cd189c238eed0
X-Google-Attributes: gid10cc67,public
X-Google-ArrivalTime: 2004-04-20 14:10:05 PST
Reply-To: "Malcolm Smith" <mjfreelancing@optusnet.com.au>
From: "Malcolm Smith" <mjfreelancing@optusnet.com.au>
Newsgroups: borland.public.cppbuilder.nativeapi
References: <4084732e@newsgroups.borland.com> <4084916b$1@newsgroups.borland.com> <4084b480$2@newsgroups.borland.com> <4084b95d@newsgroups.borland.com> <4084bc41@newsgroups.borland.com> <4084d570$1@newsgroups.borland.com> <4084e3a3$1@newsgroups.borland.com> <8lta80h2sdag0frrsbne47t34nfqiafvmo@4ax.com> <40858781$1@newsgroups.borland.com> <40858c51$1@newsgroups.borland.com>
Subject: Re: Custom Shutdown
Date: Wed, 21 Apr 2004 07:02:29 +1000
Lines: 41
Organization: MJ Freelancing
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2800.1409
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1409
NNTP-Posting-Host: 211.30.147.112
Message-ID: <40859012$1@newsgroups.borland.com>
X-Trace: newsgroups.borland.com 1082494994 211.30.147.112 (20 Apr 2004 14:03:14 -0700)
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!news.glorb.com!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail