|
I know that HKCU means HKEY_CURRENT_USER..
and Checked again
but there's no regsitry...
|
|
|
|
|
I checked it other PC and looked up that
but there's no registry still...
what's wrong my PC?
thanks... for your help.
and
Do you know probleum of my PC
I installed OutLook2003.
and running now.
|
|
|
|
|
So you use Outlook2003.. not Outlook express. I personally don't have Outlook2003. But you may be able to locate the correct key in the registry yourself. Do a Find on the registry using a known E-mail account e.g abc@xyz.com. The key should show up in the find results.
|
|
|
|
|
um...
there is that reg path where othre PC using OutLook 2003.
and I registered 3 account to OutLook 2003 on my PC.
I don't konw what problem
and thanks for your continuous help
|
|
|
|
|
Check HKEY_CURRENT_USER\Software\Microsoft\Office\Outlook
|
|
|
|
|
there is HKEY_CURRENT_USER\Software\Microsoft\Office\Outlook\OMI Account Manager\Accounts
but don't have any informations...
just blank key or default values...
|
|
|
|
|
Perhaps you do not have any accounts configured. Is Outlook configured to get e-mail from the Internet (POP3 and SMTP) or Exchange?
"Ideas are a dime a dozen. People who put them into action are priceless." - Unknown
|
|
|
|
|
No...
I have 3 mail accounts and I've confitured
|
|
|
|
|
How to use ado to visit the database in C++.
It's better to show me some samples or links.
Thanks!
Zhou YuanXin
|
|
|
|
|
Link[^]
Christian Graus - Microsoft MVP - C++
|
|
|
|
|
|
|
Howdy codies,
I'm getting a little bored with the plain old text editing in VS.Net for some of the code I have to edit (particularly makefiles), and I've been scouring MSDN for information on hwo to implement a new code editor, but to no avail.
Theres hints alluding to some secret SDK that VSIP (Visual Studio Intregration Partners), but no concrete information.
I als had a quick look at a .resx editor, which relied on the VSIPExtras package, but thats not publically available apparently.
So anyone know where to start for building a new code editor in VS.Net?
- Phil
|
|
|
|
|
I'm getting a value that represents my ip address in a long - 16951488. I can then ping that number and see my IP in network byte order - 1.2.168.192
Does anyone know of a function that will take the first long and convert it to an IP address?
Cheers,
Tom Archer - Archer Consulting Group
"So look up ahead at times to come, despair is not for us. We have a world and more to see, while this remains behind." - James N. Rowe
|
|
|
|
|
Cheesy solution, but should work. (Warning: untested!)
void convertLongToIpAddress
(long nLong,
unsigned char& ch0, <code>
unsigned char& ch1,
unsigned char& ch2,
unsigned char& ch3) <code>
{
ch0 = (unsigned char) (nLong & 0xFF000000) / (256 * 256 * 256);
ch1 = (unsigned char) (nLong & 0x00FF0000) / (256 * 256);
ch2 = (unsigned char) (nLong & 0x0000FF00) / 256);
ch3 = (unsigned char) nLong % 256;
} /ravi
My new year's resolution: 2048 x 1536
Home | Articles | Freeware | Music
ravib@ravib.com
|
|
|
|
|
Thanks Ravi, but this resulted in nothing in each of the char values.
|
|
|
|
|
It's an order of operations problem - put brackets around everything after the cast to unsigned char, the number is getting cast first, then divided.
I'd also replace the 256 divides with shifts.
void convertLongToIpAddress (long nLong,
unsigned char& ch0,
unsigned char& ch1,
unsigned char& ch2,
unsigned char& ch3) // lowest part
{
ch0 = (unsigned char) ((nLong & 0xFF000000) >> 24);
ch1 = (unsigned char) ((nLong & 0x00FF0000) >> 16);
ch2 = (unsigned char) ((nLong & 0x0000FF00) >> 8);
ch3 = (unsigned char) (nLong % 256);
}
Christian Graus - Microsoft MVP - C++
|
|
|
|
|
|
Why the '&' operation? The shifts cause the bits you need to be in the LS byte not? So the cast should truncate the other bits...
So the following code does the same in less CPU cycles:
void convertLongToIpAddress2 (long nLong,
unsigned char& ch0,
unsigned char& ch1,
unsigned char& ch2,
unsigned char& ch3)
{
ch0 = (unsigned char) (nLong >> 24);
ch1 = (unsigned char) (nLong >> 16);
ch2 = (unsigned char) (nLong >> 8);
ch3 = (unsigned char) (nLong);
}
Behind every great black man...
... is the police. - Conspiracy brother
Blog[^]
|
|
|
|
|
Yeah, this occured to me in the shower a half hour ago. Does that make me a total nerd ?
Christian Graus - Microsoft MVP - C++
|
|
|
|
|
Nah. I think that most developers are not nerds, even if they think about IT related stuff when they are taking a shower! Other people think about their work all the time. They even talk about it during dinner. I bet that most developers don't do that, since we know that nobody is going to understand what we will say about 95% of the time... So the real nerds (in terms of being obsessed with their work and talk about nothing else) is everybody else!
Behind every great black man...
... is the police. - Conspiracy brother
Blog[^]
|
|
|
|
|
Well, I thought of a faster way again on the way to work this morning...
void ConvertLongToIPAddress( long nLong,
unsigned char& ch0,
unsigned char& ch1,
unsigned char& ch2,
unsigned char& ch3) // lowest part
{
unsigned char * pIP = (unsigned char *) & nLong;
ch0 = pIP[3];
ch1 = pIP[2];
ch2 = pIP[1];
ch3 = pIP[0];
}
I seem to recall a Dilbert cartoon where he has to hand in a timesheet and says 'the time I spent doing nothing in meetings is marked as work, and the time I spent designing circuits in the shower is not on there'.
Christian Graus - Microsoft MVP - C++
|
|
|
|
|
Christian Graus wrote:
Well, I thought of a faster way again on the way to work this morning...
LOL! Where do you get some rest?
I give up here. I might be able to prduce a slightly better result in assembly, but I want get back to something I left behind...
Christian Graus wrote:
I seem to recall a Dilbert cartoon where he has to hand in a timesheet and says 'the time I spent doing nothing in meetings is marked as work, and the time I spent designing circuits in the shower is not on there'.
I just love the Dilbert cartoons! Don't you?
Behind every great black man...
... is the police. - Conspiracy brother
Blog[^]
|
|
|
|
|
Bob Stanneveld wrote:
Where do you get some rest?
About five hours a night. Except when I have sticky programming problems, then I dream about them. Not that I'm obsessive or anything.
Bob Stanneveld wrote:
I just love the Dilbert cartoons! Don't you?
Yeah, they rule. NEver had a bad boss, so I can't relate, but I still love it. The books are even better, especially 'The Dilbert Future'. If you don't have it, get it. It's REALLY funny
Christian Graus - Microsoft MVP - C++
|
|
|
|
|
Christian Graus wrote:
Yeah, they rule. NEver had a bad boss, so I can't relate, but I still love it. The books are even better, especially 'The Dilbert Future'. If you don't have it, get it. It's REALLY funny
Í don't have it... yet!
Behind every great black man...
... is the police. - Conspiracy brother
Blog[^]
|
|
|
|