🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

How can I add this value to the Registry?

#2009
From: bashar
Date: Wed, 09 May 2007 12:55
10 lines
1226 bytes
How can I add this value to the Registry?

[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control]
"myMap"=hex:00,00,00,00,5b,e0,00,00,5c


I try this but it won't work
regKey->WriteBinaryData("myMap",(char *)new_binary,sizeof(new_binary));
regKey->CloseKey();
This add a different value 
Technical Details
Message-ID: <4641dfd2@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!g2news1.google.com!news2.google.com!border1.nntp.dca.giganews.com!border2.nntp.dca.giganews.com!nntp.giganews.com!newspeer1.nwr.nac.net!newsfeeds.ihug.co.nz!ihug.co.nz!newsgroups.borland.com!not-for-mail

Show Full Headers
Complete Article Headers
X-Google-Thread: 10cc67,2ecb07d7658909e7,start
X-Google-Attributes: gid10cc67,public
X-Google-Language: ENGLISH,ASCII-7-bit
Reply-To: "bashar" <bashar-t@scs-net.org>
From: "bashar" <bashar-t@scs-net.org>
Newsgroups: borland.public.cppbuilder.nativeapi
Subject: How can I add this value to the Registry?
Date: Wed, 9 May 2007 14:55:52 +0200
Lines: 12
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2900.2180
X-RFC2646: Format=Flowed; Original
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2180
NNTP-Posting-Host: 88.86.10.242
Message-ID: <4641dfd2@newsgroups.borland.com>
X-Trace: newsgroups.borland.com 1178722258 88.86.10.242 (9 May 2007 07:50:58 -0700)
Path: arc1-ca.pugleaf.net!g2news1.google.com!news2.google.com!border1.nntp.dca.giganews.com!border2.nntp.dca.giganews.com!nntp.giganews.com!newspeer1.nwr.nac.net!newsfeeds.ihug.co.nz!ihug.co.nz!newsgroups.borland.com!not-for-mail