Show Bid Request
Read a REG_MULTI_SZ from registry ignoring nulls
Bid Request Id: 38240
|
|
|
Description:
I'm having a problem reading a specific entry in the registry. It works on most systems, but sometimes there are two nulls in the entry and the text gets terminated prematurely. For example:
This is what I want to read: HKEY_LOCAL_MACHINE\HARDWARE\DESCRIPTION\System\SystemBiosVersion
I can read it fine using some of the source code you've done for my other projects, but like I said, it stops reading when encountering 2 null values in a row, but that's not the end of the entry.
See this picture on my website: http://members.directvinternet.com/jperry69/biosreg.gif
As you can see, right after the tilde (~), there are two nulls, this is where it's terminating, but as you can see, there's more data there that I want.
Deliverables: 1) Complete and fully-functional working program(s) in executable form as well as complete source code of all work done.
2) Installation package that will install the software (in ready-to-run condition) on the platform(s) specified in this bid request.
3) Complete ownership and distribution copyrights to all work purchased.
Platform:
VB 6, NT4/2K/XP
Special Conditions / Other:
Please complete within a week of acceptance
Remember that contacting the other party outside of the site (by email, phone, etc.) on all business projects < $500 (before the buyer's money is escrowed) is a violation of both the software buyer and seller agreements.
We monitor all site activity for such violations and can instantly expel transgressers on the spot, so we thank you in advance for your cooperation.
If you notice a violation please help out the site and report it. Thanks for your help.
|
|
Bidding/Comments:
|
All monetary amounts on the site are in United States dollars.
Rent a Coder is a closed auction, so coders can only see their own bids and comments. Buyers can view every posting made on their bid requests. |
See all rejected bids (and all comments)
Name |
Bid Amount |
Date |
Coder Rating |
|
|
|
This bid was accepted by the buyer!
|
$10 (USD)
|
Dec 4, 2002 8:03:56 AM EDT
|
10
(Excellent)
|
|
|
Dear Buyer,
Please find attached a program that reads the registry key you mentioned and prints it in a messagebox to the screen, each double-NULL replaced by a vbCrLf.
I would offer you the source-code to this program. It includes a function for reading RegMultiSZ-Values (as String-Array) and an example for using this function.
As it is already finished, you can get the sources as soon as the money is escrowed.
Kind regards, Matthias Helletzgruber
|
|
Attached File
|
|
|
|
|