|
Hi All .
In the system developing and in the Design step , I want know what CPU Usage of my program is ,
to buy suitable computer system . This program will have numbers of thread that do all tasks.(In another word , I want know how many cpu this prog will need ? )
If you can , please help me ?
( Excuse me , I dont know English language well )
Thanks alot .
|
|
|
|
|
Hi,
i have written a service which makes network connections. Under win2000 it is running. When i install the service on windows XP the service has a problem to establish a network connection. But in the windows explorer of XP it is no problem to make the connection. What is the diffrence for services running on a XP system? The networkfunction i use is: WNetAddConnection2
|
|
|
|
|
This was an odd one that I hope someone can learn from. Today I had a call from a customer that was totally baffling. Her two CD drives in the secondary IDE channel went missing. My first thought was a loose cable, but reseating the cable didn't help. Second, though the odds are long against it, was that the drives or cable had failed. But the BIOS recognizes both drives perfectly; if the cable or either drive had failed that would not happen.
A bit of history:
Several months ago I replaced the existing motherboard, a PII, with a new, top of the line P4 with hyperthreading enabled. I know that it's bad practice, but I did it without reinstalling the OS - Win98 original. My reason at the time was that they had a bunch of software installed that they use regularly, but don't have the disks to reinstall. They also don't have a copy of Win98 in the office. I've had some luck doing this, but Win98 can't adapt to hardware changes very well and usually a full reinstallation of the OS is necessary to force redetection of the motherboard resources. On this occasion it worked, but the performance was terrible - the thing still runs like molasses in January. But it functioned, and the error messages that originally prompted the upgrade went away. Now, suddenly, the system can't recognize the drives on the secondary IDE channel. All of the drives are operating in "compatibility mode" which explains why it's still slow. But at least they were usable for several months, and I can't figure out what might have triggered the change!
My recommendation today was to bite the bullet, accept that they're going to lose data and the programs that created it, and install Win2K Pro on the thing. I just hope that they can still buy Win2K, as the primary program used by this PC will not run on WinXP. I'm hopeful that I can do this cleanly, without major problems, but this system seems to be cursed. IIRC, a clean installation only wipes out the C:\Windows folder, and it's just possible that the installation program and files for third party tools are in their own, separate folders. I sure hope so...
I hate it when I can't solve a customer's problem... It doesn't happen often - perhaps twice in ten years - but it still sucks!
The moral of the story is, I guess, that when it's best to do a full reinstallation it is better to accept the loss and do it early, than to wait until later and suffer poor performance until then. Some things just can't be helped, especially when you're dealing with people who really shouldn't be allowed to operate a PC without adult supervision.
"My kid was Inmate of the Month at Adobe Mountain Juvenile Corrections Center" - Bumper Sticker in Bullhead City
|
|
|
|
|
Can you tell about her problem clearly? What she has been doing before she lose the CDROM drive? She just install windiws, or she play too much with some option in the windows or she just setup her CDROM drive (before she get that problem).
In my opinion, the following thing might relate to her problem:
1. Some one might be disable her CDROM from device driver tab of My computer property.
2. Someone might change the registry to hide her CDROM drive.
3. Her computer might inffect with some kind of virus that hide the local drive from windows explorer.
4. She might change some setting in CMOS not to detect CDROM.
5. She might set wrong jumper before she start to connect her CDROM with the system.
6. The driver of the CDROM is corrupted.
7. The mainboard might not compatible with her CDROM.
Note: all of these list is relate to my opinion and my friend problem. Please check it carefully and choose only the correct answer.
Roath Kanel
APO-CEDC
Save Children Norway-Cambodia Office
|
|
|
|
|
8. None of the above.;)
No one in her office has the ability or normal curiosity to even try changing a settings. No one knows where Device Manager is, or suspects that it might exist. No one has ever seen the back of a computer - they only know that they can be opened at all because they've seen me do it. She only does two things with the computer. She swaps email with her husband in the service, and tracks building permits on tribal lands using a proprietary software package, and that requires occasional backups to CD.
The good news is that, finally, her boss got permission to buy her a new PC today. The bad news is that the proprietary software won't work with WinXP.
"My kid was Inmate of the Month at Adobe Mountain Juvenile Corrections Center" - Bumper Sticker in Bullhead City
|
|
|
|
|
How about step 3. Her computer might inffect with some kind of virus that hide the local drive from windows explorer. Is it possible that some drive in windows explorer are hidden by the virus?
In your opinion, what is the main problem that could cause windows explorer not display the CDROM drive?
Roath Kanel
APO-CEDC
Save Children Norway-Cambodia Office
|
|
|
|
|
Nope, the antivirus software is up to date and running. Besides, any "good" virus writer would hide the C: drive, not a pair of CD drives lower in the chain of value.
My first thought, and the commonest cause I've found, was that a cable had failed or come loose. This can happen even in a system that has not been moved or tampered with, because temperature variations cause minute changes in the components that can cause them to shift position and lose contact. Reseating connectors usually fixes such problems, or in the case of a failed cable, replacement clears up the problem.
Viewing the controllers in Device Manager reveals that there is a problem with the drive controller drivers - the yellow warning tag is displayed on all of them, which was not the case when I last saw the system. Win98 failed to detect that the hardware had changed, and kept both the old and new drivers so that each of the three entries in Device managers appears to have a duplicate installed. If I delete either of them, Win98 reinstalls it on the next boot.
The solution in this case, I'm certain, is to do a clean installation of Windows on the drive, which will remove all drivers and redetect the hardware. Unfortunately the data and programs on the system are critical, and cannot be replaced - none of the original CDs are available, and the backup device is the CD drive that has gone missing. Once the new PCs are available it will be a simple matter to move the data to a new system. Then it should be easy to buy a copy of WinXP and install it on the old machine. That, I expect, will clear up the problem and restore a very nice machine to full function. Of course, by then it will be redundant, having been replaced.
"My kid was Inmate of the Month at Adobe Mountain Juvenile Corrections Center" - Bumper Sticker in Bullhead City
|
|
|
|
|
Roger Wright wrote:
The good news is that, finally, her boss got permission to buy her a new PC today. The bad news is that the proprietary software won't work with WinXP.
If the purpose of the machine is to use the software won't a new machine that won't have the software be of limited use ?
You should be able to copy the existing software and reinstall manually. It'll likely be a pain to dig through the registry, all dependant dll's, ..., but i've had fairly good success doing this in similar situations ... unless there is a license ... but even that can usually be worked around.
good-luck,
...cmk
Save the whales - collect the whole set
|
|
|
|
|
Hi, My organization use MyDsl internet connection. The space of the internet usage is increase every day. I just know that is space is increase by e-mail that send out, internet usage from the client and virus in some client PC. Does anyone know the method to summary the space of e-mail that my server send and receive perday? Because I want to know about an e-mail uses by my client. Please help!!!
Roath Kanel
APO-CEDC
Save Children Norway-Cambodia Office
|
|
|
|
|
Hi, I used windows 98se and use dialup networking to access to the internet. Last month, dialup networking is working fine (I can access to the internet). But this month I could not access to the internet when I dial a connection. During I dial the connection it display error and close the connection and IE. I go to windows explorer and found the folder of dialup networking. I select on it to view the connection but after I release the mouse button the select move to My computer icon. I don't know what is the problem come from. I want to make some change to the configuration of dialup property, but I can't view the folder of dialup networking. Can anyone give me some idea or suggestion about this problem?
Roath Kanel
APO-CEDC
Save Children Norway-Cambodia Office
|
|
|
|
|
I'm looking for a method to get Per Thread CPU Usage in VC++.
I know you can get total with PerformanceCounter _Total - but
I want per thread CPU Usage.
Thanks alot .
|
|
|
|
|
Hi, I need some advice, suggestion or any recommendation from who have an experience with MCP. I prepare to have the class on MCP next week, I would like to have some idea from all of you, what should I do to be success both in the learning process and pass an exam?
Roath Kanel
APO-CEDC
Save Children Norway-Cambodia Office
|
|
|
|
|
Roath Kanel wrote:
what should I do to be success both in the learning process and pass an exam?
I haven't bothered to get any certifications, as they are of no value in a market where employers are willing to pay only minimal wages to professionals, but I do teach A+ Tech certification at the local college. From that experience I can tell you that the single most important factor in passing the exam is practice. My students run the gamut, from those who attend every class and participate in class assignments, to those who rarely show up and settle for reading the text. The difference really shows when it comes time to take a test. Those who have laid hands on the hardware always far outperform those who think they can pass by reading the book. It is critical to have hands-on experience to reinforce what the text has to say, and to learn what the book failed to mention.
Whether you are taking a class on a piece of software or hardware makes no difference. When you are offerred a chance to exercise your knowledge, take advantage of it. Use your new skills, and learn from the mistakes you will inevitably make; don't just be content to sit in the back and take notes.
Good luck!
"My kid was Inmate of the Month at Adobe Mountain Juvenile Corrections Center" - Bumper Sticker in Bullhead City
|
|
|
|
|
Thank you very much roger, There are 2 purpose that want to get an MCP course. The primary purpose is take advantage to gain knowledge about networking as much as possible (I have to support an idea for IT in my organization). The second purpose is pass the exam to get the certificate (to certified my knowledge). Some of my teacher said as you mention above too that practic is the best way to learn in this class. But I face some challenge (I know that I will face it), practic in school have a lot of material to learn. But I think practic at school is not enough, I like to practic at home alot after come from school. At my home only two computer were connected together. No switch/hub, no router, no backup tab... the other network component that could be use to practic at my home. What should I do??
Anyway, thank you very much for your comment and it is a good advice for me before taking this class.
Roath Kanel
APO-CEDC
Save Children Norway-Cambodia Office
|
|
|
|
|
You're right, practice in class is not enough. Sadly, many of my students can't afford a computer at home and so have only my class to use for practice. I strongly encourage them to read the subject chapter before class so I can give only a brief lecture and maximize the time they have to get their hands dirty. It's really the best way to learn!
Since you're going to be studying networking, invest now in a cheap hub/switch for your home and practice setting up your home net using the various protocols in Windows. Check into the Resource Kit tools available on the installation CDs and online at MS TechNet, too. Learn to use the command line tools efficiently and you'll be far ahead of many networking "professionals" I've known. You can have hours of fun using ping, tracert, net, route, and other built in commands, as well.
One of the hardest concepts for my students to master is IP sub- and super-netting. Heck, some days I confuse myself on that subject. But it really is fundamental to modern networking and rather fun! If you're going to do any pre-class studying, that's where I'd focus. You won't suffer from that bunny-in-the-headlights dazed feeling that many of mine get when we hit that chapter.
Enjoy the course!
"My kid was Inmate of the Month at Adobe Mountain Juvenile Corrections Center" - Bumper Sticker in Bullhead City
|
|
|
|
|
Thank roger, I might find second hand computer to learn with it. In my country (Cambodia) the second hand computer is very cheap (around 120$), but I never heard about second hand hub, router, switch... I might check on the market whether it is available or not. I want to setup a small professional networking at home to learn and gain the experience as much as possible.
Thank you very much for your adivce, During the class if I have any problem I will post it out and share it with the other. (Especially you!!! )
Roath Kanel
APO-CEDC
Save Children Norway-Cambodia Office
|
|
|
|
|
Hi, I have a problem with my outlook express software. I have norton client corporate edition 8.0 and norton client firewal install together and running properly, but my outlook express e-mail could not open or save the attachment file (all type of attachment files). Does anyone know how to solve this problem?
Roath Kanel
APO-CEDC
Save Children Norway-Cambodia Office
|
|
|
|
|
I use outlook express 6.
Try the menu Tools | Options, go to the Security Tab, and uncheck the "Do not allow attachments to be saved or opened that could potenially be a virus".
Hope it helps.
...Plug & Pray...
|
|
|
|
|
Thank you, I found it and now I could open my attachment file.
Roath Kanel
APO-CEDC
Save Children Norway-Cambodia Office
|
|
|
|
|
Hi, my organization use mdaemon to manage mail server. Before, we use windows nt server 4 to use mdaemon and use e-mail as normal. But today we install win2000 server and reinstall mdaemon. The problem is relate to the mail that we send from hotmail or yahoo to any address within the organization. But all of e-mail account in our organization can send to each other within the network. When we try to test at the server it display "ERR authorization failed". So we could not send or get any message to the other people.
Does anyone could give me some idea or the solution to solve this problem?
Roath Kanel
APO-CEDC
Save Children Norway-Cambodia Office
|
|
|
|
|
Hi, support that I have peer to peer network for 5 computer. The first computer name "A" and the second computer name "B". The first computer contain three user account such as "a1", "a2" and "a3". The second computer contain three user account too such as "b1", "b2" and "b3". I would like to ask you, how could I get the user name from computer "A" and display it on the screen? I don't want to use any third party software. I just want to get it via windows function. Is it possible? I don't mean that I don't hack the other computer but i want to share some resource to match the user name on the other computer.
Remember: only get the user name, not their password.
Roath Kanel
APO-CEDC
Save Children Norway-Cambodia Office
|
|
|
|
|
I have zonealarm installed and of course everyone knows, the vsmon services is basically the brains behind the outfit...anyways when I look at the services applet and go to options on vsmon almost everything is grayed out...so I went into the registry at
hkey_local_machine\system\currentcontrolset\services\vsmon\security
And in there, is a key called Security...It is a binary key and has a whole bunch of hex written in it. I imagine this is what is causing the services applet in XP to gray out all the configuration for it. Is there a way I can find out how to write my own Security reg keys like this for other services to keep people from tampering, etc?
P.S. I've already "googled" the matter lol but maybe someone knows the answer elsewhere. Thanks in advance.
|
|
|
|
|
It's the Access Control List for the service object. You can view the ACL for a service using the sc tool:
C:\>sc sdshow w3svc
D:(A;;CCLCSWRPWPDTLOCRRC;;;SY)
(A;;CCDCLCSWRPWPDTLOCRSDRCWDWO;;;BA)
(A;;CCLCSWLOCRRC;;;AU)
(A;;CCLCSWRPWPDTLOCRRC;;;PU) This output is in Security Descriptor Definition Language [SDDL] format.
To set the ACL on a service from code, use SetServiceObjectSecurity . From the command line, you can use sc sdset .
Stability. What an interesting concept. -- Chris Maunder
|
|
|
|
|
Hi all. Our Exchange server is Exchange 2003 running on Windows 2003 Server. The client machine in question is running Windows 2000, SP3, and Outlook XP (10). The problem I'm having is that his Outlook client isn't publishing his Free/Busy information to Exchange, despite the setting being set for 6 months worth of data. I've ran Windows update and Office update, uninstalled Office, ran RegClean, and reinstalled office, all to no avail. I know it's Outlook, and not Exchange, because an article on the net suggested deleting the user specific Free/Busy entry on the exchange server, and Outlook would rebuild it. I did this with my own account, and indeed, my Free/Busy entry was recreated. Not so with this particular user.
Any ideas? Thanks in advance.
Kyosa Jamie Nordmeyer - Cho Dan
Portland, Oregon, USA
|
|
|
|
|
You know how sometimes just talking a problem out helps you solve it? Case and point. I went back down to the users machine and deleted his Outlook profile, then rebuilt it. I assumed (incorrectly apparently) that the profile would be deleted when I uninstalled Outlook. It wasn't. Either way, this fixed the problem. Apparently something in his profile had been corrupted. Weird.
Kyosa Jamie Nordmeyer - Cho Dan
Portland, Oregon, USA
|
|
|
|
|