it takes less than 6 secondes.
Type: Posts; User: patrick22
it takes less than 6 secondes.
Do you mean it is only possible with sleep functions?!
Hi,
i am deleting over 2000 files in a for loop, everything works ok except that the CPU usage is 100 % during this loop. Here is the Code:
for( size_t i = 0; i < filesO.GetCount(); i++ )
{...
Under Vista:
-The first call to DeleteFile returns 0, and GetLastError returns ERROR_ACCESS_DENIED.
-After changing the file attribute, DeleteFile returns non-zero value(success).
-Thumbnails...
Hi,
under Vista, i used to delete my Thumbnail Cache files :
with the following Code:
There was something wrong( don't know what ). But here is what i did :
I filled IE History files with zeros and restarted IE, after that everything worked as expected.
Problem resolved.
To describe the problem better, i have made a screenshot :
http://img441.imageshack.us/img441/1091/capture01042009121840.png
Hi,
can you please, tell me what history-related-registry locations for IE8( like typedurls, adress bar history.... ) are available?
For example i know that typed urls location for IE7 is :
...
Do you mean CancelWaitableTimer or KillTmer?
EDIT :
-------
It worked with CancelWaitableTimer :).
Thanks for help.
Hi,
I have a question regarding RegisterWaitForSingleObject :
Should i call UnregisterWait after using RegisterWaitForSingleObject? If yes, can provide me with an example; because i am having...
Thanks, it worked flawlessly :D
Now it works correctly:o
Thanks for help.
But i have another problem :
I have created a shortcut by right-clicking the Dial-up connection under "Network Connections" and then selected "Create...
char szFile[512] = { "\0" };
OPENFILENAME ofn;
ZeroMemory( &ofn, sizeof( OPENFILENAME ) );
ofn.lStructSize = sizeof( OPENFILENAME );
ofn.Flags = OFN_FILEMUSTEXIST |...
Well, turning the computer On from hibernation ( S4 state ) after some time is very easy programaticly( if your motherboard support S4 state ), but turning the computer from the Shutdown State ( S5 )...
Sorry, i did not understand what do you mean with that:confused:
Hi,
i have been using the Standby / Hibernation for one year with no problems on both Vista and Xp.
But now, when i put the PC to Standby or Hibernation it powers on from itself after undefined...
Hi,
i am using the GetOpenFileName and "OFN_FILEMUSTEXIST | OFN_NONETWORKBUTTON | OFN_PATHMUSTEXIST" flags to enable the User to select a file of any type, but when i try to open a file with URL...
Hi,
i used to save a file in my own format and extension.
-Can you tell me, please, how can i associate the extension with my Application?
-How do i need to change the Code so that when the...
Hi,
-Is it there any way to read(dump) the CMOS to a file using C++ under windows operating system?
-Is it mainboard dependent?
-Can you, Please, tell me where can i find a reference to CMOS...
@Codeplug:
Your code is working great. :)
I have 2 more questions:
1.Where are the display properties stored in Win9x ? Under WinXp they are stored in :
...
Wow :cool:.
Many thanks Codeplug, i appreciate your answer.
Like:
Go to standby
Wake-Up from standby
Hi,
i can turn the Monitor( Display ) off and on programaticly with SendMessage and SC_MONITORPOWER. But in some cases, other applications may prevent that.
My question is : how can i detect...
O.K i have found the location :
[HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\UserAssist\{75048700-EF1F-11D0-9888-006097DEACF9}\Count]
I can enumerate the values...
Hi,
I know that the number of "most frequent used programs" is stored under :
[ HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Policies\Explorer\Start_MinMFU ]
I have 2...