|
narayanagvs wrote: I want to know is if we increase virtual memory in our pc will there be any problem
Increase your virtual memory is increase the space of your hard disk drive as a temporary memory. I also used to increase the virtual memory in my computer and didn't found anything change.
narayanagvs wrote: how much amount can i increase my virtual memory.
There are a rank of minimum virtual memory and maximum virtual memory. The minimum of your virtual memory is = RAM * 1.5 and the maximum of virual memory = RAM * 3. In this case, if your computer have 128mb RAM then the minimum of your virtual memory would be 192mb and your maximum virtual memory would be 384mb. So you can increase to any number that you want. But if you want your system to run a fast performance, you should move your PAGEFILE.SYS to another free partition.
|
|
|
|
|
128MB? That is far too little to run an NT-based OS + VC 2005 at any decent speed, as you've found out. Increasing your page file size won't help the speed any, buying more RAM will.
--Mike--
Visual C++ MVP
LINKS~! Ericahist | NEW!! PimpFish | CP SearchBar v3.0 | C++ Forum FAQ
|
|
|
|
|
If i have a second partition with free 20Gb drive, and i move the page file to this drive and increase to page file size of 15Gb. Will this computer run faster than before?
|
|
|
|
|
|
Thank you very much for your information.
|
|
|
|
|
Even if you increase virtual memory it wouldn't increase performence. By default setting, windows chooses automatickly size. If the ammaount of required memory is larger than amaunt of RAM + Virtual memory, windows automaticly increase its size. RAM exist as memory, because it's a lot faster than Hard Disk. If HD would be a lot faster than a RAM, then there wouldn't be any point of having RAM. On other words, if RAM is not enough then it is using Virtual Memory. When It uses Virtual Memory, then HD will be very active, even after is loaded.
To run VS 2005, it requires Windows XP. XP can run on 128MB of ram, but to run XP in descent speed you will need 256MB. For VS 2005 to run a descent speed you wuld neet at least 512MB
|
|
|
|
|
Thank you very much for your information.
|
|
|
|
|
hi all
iam working on WMI . iam trying to write an application for Event notification.
Iam usimg Win32_Process class, and ExecNotificationQuery for WQl query.
Iam trying to display a message when a new process is created.
my WQL query is
hres = pSvc->ExecNotificationQuery(
bstr_t("WQL"),
bstr_t("SELECT * FROM __InstanceCreationEvent WITHIN 5 WHERE TargetInstance ISA 'Win32_Process' And (TargetInstance.Name = 'notepad.exe' OR TargetInstance.Name = 'calc.exe' ) "),
WBEM_FLAG_FORWARD_ONLY | WBEM_FLAG_RETURN_IMMEDIATELY,
NULL,
&pEnumerator);
if iam not wrong ,After executing this query TargetInstance will be Instance of WIn32_process class.
and now iam trying extract data usoing this statement
hr = pclsObj->Get(L("TargetInstance.Name"), 0, &vtProp, 0, 0);
but iam not able to get value of Name property of Win32_Process class into vtProp where vtProp is of type VARIANT.
IWbemClassObject->Get( LPCWSTR wszName,LONG lFlags, VARIANT* pVal,CIMTYPE* pvtType, LONG* plFlavor) is used to retrieves Specified property value.
but here iam using it for getting value fron an istance i.e TargetInstance.Name. Is it the correct way to do if not please help me in extracting value of Name Property.
Please help me in solving this .
Thanks in advance
abhi
|
|
|
|
|
This is not an O/S question, but instead belongs in the Visual C++ forum.
RageInTheMachine9532
"...a pungent, ghastly, stinky piece of cheese!" -- The Roaming Gnome
|
|
|
|
|
Hi!
I had download the source code of mass storage device driver for windows98 from Microsoft websit.And builded it with 98ddk on windows98 system,and then
installed it on win98 system. It can work correctly all the time.
If I suddenly remove the device from pc when copying file from pc to device or from device to pc on win98 system,the blue screen occur,and i have to restart my system.
But if do the same on win2000 or winxp there is no blue screen.
Now i wanna modify the driver source code to avoid the blue screen when suddently remove the device while it is exchanging data with pc on win98 system.
My question is:
1,If my hope has the possibility to come true?
2,If has,then which part of source code of this drive should i have to modify,and what couses the blue screen?
I know that in the source code it just abort all the pipes when device remove sudently but nothing else.
Thanks!
momer
All the blesses we are enjoy are the fruit of labor,toil,study and self-denail.
|
|
|
|
|
there no need for cross-posting the forums...
if you don't get any answer, it may be because :
1. you don't let people the time to answer
2. the question is not well formulated
3. no one knows...
TOXCCT >>> GEII power [toxcct][VisualCalc 2.24][3.0 soon...]
|
|
|
|
|
Hi!toxcct,
Thank you very much!
My quetion is:
If there has the possibility to avoid the blue screen when
suddenly remove the pen disk from pc while copying file from
pc to pen disk on win98 system?
thanks!
momer
|
|
|
|
|
yeah, i understood the question... i only said that there was no need to ask it many times on many forums at a time.
well, for your question, i am not sure about the answer, that's why i didn't let you my thought.
i actually think that there's nothing you can do again that blue screen under Windows95/98/ME...
but i may be wrong.
TOXCCT >>> GEII power [toxcct][VisualCalc 2.24][3.0 soon...]
|
|
|
|
|
"i actually think that there's nothing you can do again that blue screen under Windows95/98/ME...
but i may be wrong."
yeah,i think maybe you are wrong. Couse the usb pen disk driver can do more work after the pen disk removed suddenly.
So what about your opinion?
thanks!
momer
|
|
|
|
|
This is by design. Ultimately if you do this enough times it will ruin the USB "Pen" drive.
The operating system mounts a virtual file system and needs to unmount it to leave the memory on the "Pen" drive in a useable state. Things that trigger a Blue Screen that are obvious (like this) probably should not be repeated. This is not a software problem it's hardware.
I only read CP for the articles.
Code-frog System Architects, Inc.
|
|
|
|
|
Hi! Code-frog,
Thank you very much!
If I do the same on win2000 and winXP it never trigger a Blue Screen.
I know that Win2000 and WinXp have their own USB pen disk drivers.
I can not understant that it's a hardware problem but not a software.
So what couses the difference phenomena on win98 and win2000(WinXp)?
Thanks!
momer
|
|
|
|
|
It's really a moot point. "Surprising" the driver with an unexpected removable of the device will result in data corruption. You just don't do it.
If the volume on that stick is not dismounted properly, you stand a LARGE chance of corrupting the contents of the stick. Then, a Blue Screen of Death will be the least of your problems.
RageInTheMachine9532
"...a pungent, ghastly, stinky piece of cheese!" -- The Roaming Gnome
|
|
|
|
|
Hi! Dave,
Thank you very much!
Yes,except testing my driver I never remove the device whilt it exchage data with pc,but I can never sure about that my customer never do it.
I wish my customer can use my pen-disk on win98 system just like they use it on win2000 or winXp system.
So,sir,pls give me your suggestion.
Thanks!
momer
All the blesses we enjoy are the fruit of labor,toil,study and self-denail.
|
|
|
|
|
No ideas, cause I haven't written for 9x systems in a VERY long time, and never a device driver.
You're talking about writing a device driver for a system that hasn't been supported by Microsoft in ages. Help on this is going to be extremely difficult to come by, if for no other reason, no one has anything to test the code on!
RageInTheMachine9532
"...a pungent, ghastly, stinky piece of cheese!" -- The Roaming Gnome
|
|
|
|
|
|
When i had Win98 a lot of driver shows blue screen, to remove without blue screen, you should go to safe mode.
|
|
|
|
|
Yeah,I know it.
But my problem is how to modify my driver code to avoid the blue screen,and no need to go to safe mode.
Thanks!
|
|
|
|
|
It's up to you to debug your driver code and find out why it's causing the BSOD. There's no one thing you can do to fix it. You have to find the bug and correct it, or implement the code to handle the situation that causes it.
But, it all starts with you and the kernel debugger...
RageInTheMachine9532
"...a pungent, ghastly, stinky piece of cheese!" -- The Roaming Gnome
|
|
|
|
|
Well,Thank you very much.
I think I should follow your words and have a try.
Thanks!
|
|
|
|
|
Hi,
Can I write a shell extension which can process my own shell format?
For example: I have an application which has own data format, and when
drag from this applicaion and drop on explorer, the extension can process this data format.
It's like when you drag some texts and drop on explorer, which generate some special file.
Of course, I want generate my own files.
Anyone can help me?
|
|
|
|