Article View: borland.public.cppbuilder.nativeapi
Article #10372Re: Custom Shutdown
From: Malcolm Smith
Date: Wed, 21 Apr 2004 05:51
Date: Wed, 21 Apr 2004 05:51
36 lines
2497 bytes
2497 bytes
I'm not even sure if I have to do this because the RegSetValueEx takes NULL terminated strings, ending with a double NULL (from memory). The MSDN docs clearly indicate the two strings are joined using \n\r - this tells me a standard string is all that is required. Do you think otherwise ? -- Malcolm Smith MJ Freelancing http://www.mjfreelancing.com "Remy Lebeau (TeamB)" <gambit47.no.spam@no.spam.yahoo.com> wrote in message news:40860791$1@newsgroups.borland.com... > > "Malcolm Smith" <mjfreelancing@optusnet.com.au> wrote in message > news:40859012$1@newsgroups.borland.com... > > > and then key PCS;64;0 with string value "title\n\rdescription" > > You do realize that you are using LFCR instead of CRLF, don't you? > > > 1. How do you write a multi-line string in BCB - do I need use > > TRegistry->WriteBinaryData instead > > TRegistry does not support REG_MULTI_SZ values at all. You have to use the > Win32 API directly for them instead. Look at RegSetValueEx(). > > > Gambit > >
Technical Details
Message-ID:
<40860b1e$1@newsgroups.borland.com>Path:
arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!news.glorb.com!newsfeed.kabelfoon.nl!195.129.110.21.MISMATCH!bnewsfeed00.bru.ops.eu.uu.net!bnewsinpeer01.bru.ops.eu.uu.net!emea.uu.net!newsfeeds.ihug.co.nz!ihug.co.nz!newsgroups.borland.com!not-for-mailReferences:
<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> <40859012$1@newsgroups.borland.com> <40860791$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 22:55:19 PST Reply-To: "Malcolm Smith" <m.smith@comvision.net.au> From: "Malcolm Smith" <m.smith@comvision.net.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> <40859012$1@newsgroups.borland.com> <40860791$1@newsgroups.borland.com> Subject: Re: Custom Shutdown Date: Wed, 21 Apr 2004 15:51:19 +1000 Lines: 38 Organization: Comvision Pty Ltd 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: 144.137.108.190 Message-ID: <40860b1e$1@newsgroups.borland.com> X-Trace: newsgroups.borland.com 1082526494 144.137.108.190 (20 Apr 2004 22:48:14 -0700) Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!news.glorb.com!newsfeed.kabelfoon.nl!195.129.110.21.MISMATCH!bnewsfeed00.bru.ops.eu.uu.net!bnewsinpeer01.bru.ops.eu.uu.net!emea.uu.net!newsfeeds.ihug.co.nz!ihug.co.nz!newsgroups.borland.com!not-for-mail