Forum posts for alg.exe

Could not find system file when it actually exists

Could not find system file when it actually exists - 'c:windowssystem32alg.exe'.

I've moved from Win 7 x86 to x64 recently and when I was on x86 I had no problem with this, tried Delphi 7 & XE2.

Code I'm using:

if FileExists('c:windowssystem32alg.exe') then
ShowMessage('fe') else ShowMessage('fne');


Tried to take ownership of a file + my app with admin privilegies - same issue.

Guys, to check if x64..

function IsWow64Process(Handle:THandle; var IsWow64 : BOOL) : BOOL; stdcall; external 'kernel32.dll';

function IS64 : Boolean;
var
xIS64 : Bool;
begin
if IsWow64Process(GetCurrentProcess, xIS64) then
Result := xIS64 else RaiseLastOSError;
end;

View complete forum thread with replies

Other posts related to alg.exe

See Related Forum Messages: Follow the Links Below to View Complete Thread

Could not find system file when it actually exists
results from debug diff from release
can a windows service be spawned from something other than services.exe?
Exception during char operation

What is the carbon footprint of your coffee?

Is it low? Is it high? Can this things really kill the planet Earth? Maybe the answer will surprise you. Maybe not.