Leif Asbrink wrote:

It seems to me there is a bug in the new kernel32.dll.
I have tried to find out how to send bug reports to
Microsoft but it seems they do not want me to....

Comments?

Hi Leif,

  Kernel32.dll is a crucial file of Windows, and all the system depends on it, 
so better not play too much with it....
What Windows uses is the file kernel32.dll found in the Windows\system32 directory. If it gets ruined or erased, Windows replaces it with the backup copy held in the windows\system32\dllcache directory.

A DLL is loaded into memory when first used, then usually it is erased from memory only when the program that uses it terminates and some memory is required for other tasks.

So what probably happened in your experiment is that Linrad did load the kernel32.dll *not* from the system32 directory, but from its local directory, and the CPU load computation was correct. Then when Linrad exited, the copy loaded in memory was not unloaded, because there were not an immediate need of free memory, so when you restarted Linrad, even if you had erased the file, the loader did find the copy of kernel32 already loaded in memory and used it, still giving the correct results. Of course when you rebooted the system, the copy of the DLL found in system32 was that was used.

My suggestion for another experiment is the following :

Rename that kernel32.dll that gives the correct results with another fancy 
name, for example  mystery.dll
Then place it into the Linrad directory, and change the code so to load  
mystery. dll instead of kernel32.dll
So you will be assured that Windows itself will not use it, avoiding in this way any problem of compatibility or updating, and Linrad only will use it, limited to the CPU load computation functions.

73  Alberto  I2PHD


#############################################################
This message is sent to you because you are subscribed to
 the mailing list <linrad@antennspecialisten.se>.
To unsubscribe, E-mail to: <[EMAIL PROTECTED]>
To switch to the DIGEST mode, E-mail to <[EMAIL PROTECTED]>
To switch to the INDEX mode, E-mail to <[EMAIL PROTECTED]>
Send administrative queries to  <[EMAIL PROTECTED]>

Reply via email to