stevenc317
asked on
DWORD Reg Key??
I am using Borland C++ Builder v1.0 how do I create a DWORD with the value of 0 (0x00000000 (0) that is). Also how do I create one with the value of 1 (0x00000001 (1) that is)
thanks
thanks
ASKER
what do u mean???
I meant, did you try
DWORD myword1 = 0;
DWORD myword2 = 1;
DWORD myword1 = 0;
DWORD myword2 = 1;
ASKER
I do not understand. I just need to create a reg key HKEY_CURRENT_USER\Software \High Voltage\High Security\ keyname and have that key a DWORD with the value of 1and one that has the same path as above but with the value of 0
You know how to create a reg key with string values, right?
So, instead of doing
myreg->WriteString(string, string);
call
myreg->WriteInteger(String , 0);
myreg->WriteInteger(String , 1);
So, instead of doing
myreg->WriteString(string,
call
myreg->WriteInteger(String
myreg->WriteInteger(String
ASKER
thanks it works. now please send a answer thing so I can give u your points.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
thanks
DWORD myword = 0;
work?