V41 R8 Error on Windows Vista x64

Programs for HP-41

V41 R8 Error on Windows Vista x64

Postby jaspain » Sat Jul 11, 2009 2:49 pm

I recently reloaded my system with Windows Vista Enterprise x64 SP2 and installed V41 R8. The V41 application launches normally, but when exited, produces the error message "Unable to rename temporary file C:\Program Files (x86)\V41\V41TEMP.lod to C:\Program Files (x86)\V41\HP-41-CX.lod." This error is repeated every time V41 is launched and exited, and it is apparent that the calculator state is not being saved as a result.

The problem is due to the fact that the file HP-41CX.lod, which the application is trying to update, is located in the C:\Program Files (x86)\V41 directory. Vista protects this directory from modification by applications not running with elevated privileges.

Vista causes V41 to create the file V41TEMP.lod in the directory C:\Users\<profileName>\AppData\Local\VirtualStore\Program Files (x86)\V41, where <profileName> is the profile directory name of the user currently logged on. Presumably V41 is attempting to create this file in the protected directory C:\Program Files (x86)\V41, and Vista is fooling it by redirecting this file writing activity to the VirtualStore directory.

It is possible to complete the fake out of V41 by manually copying the three original .lod files (HP-41C.lod, HP-41CV.lod, and HP-41CX.lod) to C:\Users\<profileName>\AppData\Local\VirtualStore\Program Files (x86)\V41. It is important to also delete them from C:\Program Files (x86)\V41.

With the three .lod files moved, V41 works normally, produces no error messages on exit, and remembers the calculator state.
Posts: 1
Joined: Fri May 08, 2009 1:58 am

Re: V41 R8 Error on Windows Vista x64

Postby ASTROJAZ » Sun Apr 16, 2017 10:23 pm

The problem of "Running as ADMIN" is that the next screen from WIN-10 security asks permission to run V41. This is as big a hassle as having to click-off the error pop-up, when V41 is closed.

The second alternative - to actually move the "three LOD files" to the USER main directory is a lot cleaner - no pop-ups of any kind, when starting it or closing it down.

The down side to the latter is that this file transfer has to be done for each USER account that wants to run V41 without pop-ups.
I am surprised that there is no better solution even now with V41 ver. 8E. Wasn't a problem using V41 ver. 7B - even in Win-10 ... so it is fixable, and not really a problem with Win-10, since somehow the older VB41cx version worked fine, in this regard.
Posts: 1
Joined: Sun Apr 16, 2017 10:11 pm

Return to HP-41 Software

Who is online

Users browsing this forum: No registered users and 1 guest