Not Found Files and Registry Keys

Requests for new features, question how to do something etc...

Moderator: lpaatero

Post Reply
Posts: 68
Joined: Mon Apr 03, 2006 5:28 pm

Not Found Files and Registry Keys

Post by gwport »

For Vista Ultimate 32b and GW2_2_21, I have tested access a bit. I have noticed that the following files and registry keys were not found. Note that (CI)(OI) means "access also to containers or objects (i.e., folders or files, subkeys or keys' data) further below the tree".

Attempt by GOWrite.exe:

C:\Program Files\app_icon.ico
C:\Program Files\bin\vcafe.exe
C:\Program Files\images\o9i_1.gif

Attempt by javaw.exe:

C:\Windows\Sun\Java\lib\ext (CI)(OI)

HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\AppCompatFlags\Layers\C:\Program Files\MyJavaDir\bin\client\jvm.dll
HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Compatibility32\javaw
HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Image File Execution Options\DllNXOptions\GOWriteWin.dll
HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Image File Execution Options\DllNXOptions\java.dll
HKLM\Software\Microsoft\Windows NT\CurrentVersion\Image File Execution Options\javaw.exe\RpcThreadPoolThrottle


So my questions are:

Why does Gowrite or javaw, respectively, attempt to access containers or objects that do not exist? Maybe it cannot always be answered for javaw. However, the attempts by Gowrite should be explained. E.g., are they legacy code of earlier GW versions that has not been deleted and is now useless?
robert jasiek
Go liiton hallitus
Posts: 475
Joined: Fri May 21, 2004 12:20 pm
Location: Finland

Re: Not Found Files and Registry Keys

Post by lpaatero »


Currently I do not have good access to vista machine, so I have not verified your findings.

For files accessed by gowrite.exe: I have not implemented such accesses, so I cannot say why they would happen. I can think of several reasons, but only way to know would be to look at stack trace for system calls.

Posts: 68
Joined: Mon Apr 03, 2006 5:28 pm

Re: Not Found Files and Registry Keys

Post by gwport »

I can think of only one other reason: legacy code in Java that accidentally becomes active by GoWrite's calls of the Java libraries. Which other reasons can you imagine? It might help me to search if I know what to search for.

How to read the stack trace for system calls?
robert jasiek
Post Reply