Modifying Windows registry is a common task for applications. The installed Comodo Internet Security as the anti virus on my computer. Each time I compile a native application and running it via the Embarcadero C++Builder, Comodo shows me a "Unrecognized Application" message and runs it in the Sand Box.
I always click on the "Don't isolate it again" link on the Comodo message box. Usually after a few times of clicking on the mentioned link, Comodo will not show the message again. I thought that it remembers my answer and lets the application to run normally.
When I called the functions which try to modify Windows registry, I noticed that it can not open the registry at all. This problem wastes lots of my time. I found that Comodo runs the application in the Sand Box, so it can not read or modify Windows registry keys values.
If you have such a kind of problem, check you anti virus which may prevent the application to have access to the Windows registry. For me, I disable the Defence+ feature of Comodo to be able to run the application normally when programming.
Showing posts with label Programming. Show all posts
Showing posts with label Programming. Show all posts
Thursday, May 17, 2012
Friday, March 2, 2012
JCL Library: BIOS and Processor - Wrong Results
Today, I tried to produce a unique ID for each computer. I used JCLSysInfo Delphi programming library to achieve this. I tested the below commands on a Windows 7 x86 Ultimate:
GetProcessorArchitecture();
and
GetNativeSystemInfo(sysInfo);
sysInfo.dwProcessorType
But when I restarted my computer and boot it via a Windows 7 x64 Ultimate, the results were quite different. So don’t use these two commands if you need to get hardware information. The results are depend on the operating system.
I also tested the below BIOS commands:
GetBIOSCopyright());
GetBIOSName());
GetBIOSExtendedInfo());
The only result I get from them were an empty string.
FYI: My computer CPU type is: Intel(R) Core(TM)2 Duo CPU T9400 @ 2.53GHz
GetProcessorArchitecture();
and
GetNativeSystemInfo(sysInfo);
sysInfo.dwProcessorType
But when I restarted my computer and boot it via a Windows 7 x64 Ultimate, the results were quite different. So don’t use these two commands if you need to get hardware information. The results are depend on the operating system.
I also tested the below BIOS commands:
GetBIOSCopyright());
GetBIOSName());
GetBIOSExtendedInfo());
The only result I get from them were an empty string.
FYI: My computer CPU type is: Intel(R) Core(TM)2 Duo CPU T9400 @ 2.53GHz
Subscribe to:
Posts (Atom)