I remember one change that the runtime library folks made toMSVCRT.DLL that had to be backed out and revisitedbecause they found an application that not only linked toMSVCRT.DLL instead of the runtime library thecompiler intended,but also groveled into an internal array and manipulatedprivate members.(I was one of the people who investigated this compatibilityissue, but I was not the one who solved it.)
I am distributing an application in VFP9 SP2 compiled as an executable on Windows 7 32 bit OS. It runs OK on XP thro Windows 7 (32 bit) but when the application is run on a computer with Windows 7 64 bit OS the user encounters the message "Cannot locate the Microsoft Visual FoxPro support library". The .exe is in a folder under the Program Files (x86) folder and in the same folder are the msvcr71.dll, foxtools and foxuser files. The library appears to have registered correctly. Have you any idea what the issue may be here, and how to overcome it?Thanks and regards,
Andrew Hall
Re: VFP compatibility with 64 bit OS
Rick Strahl
Andrew Hall
3R609XHFX Apr 5, 2013 @ 04:37am
Reply
FoxPro runs fine on 64 bit Windows. if you're distributing the application either run an installer to put the runtime files in their proper place (in the program files/common files location) or put them into your application folder. If you're not using an installer the latter is a better choice.Realize though that you need true admin rights (not running under User Account Control) to register the FoxPro runtime files. I think runtime registration fails silently and that's the most likely reason you're seeing this error you're encountering. If you want to manually register make sure you use an Admin Command prompt (Click Run As Administrator on the Command Prompt shortcut).
+++ Rick ---
Hi RickI am distributing an application in VFP9 SP2 compiled as an executable on Windows 7 32 bit OS. It runs OK on XP thro Windows 7 (32 bit) but when the application is run on a computer with Windows 7 64 bit OS the user encounters the message "Cannot locate the Microsoft Visual FoxPro support library". The .exe is in a folder under the Program Files (x86) folder and in the same folder are the msvcr71.dll, foxtools and foxuser files. The library appears to have registered correctly. Have you any idea what the issue may be here, and how to overcome it?Thanks and regards,
Andrew Hall
Rick Strahl
West Wind Technologies
from Maui, Hawaii
Making waves on the Web
Re: VFP compatibility with 64 bit OS
n/a
Rick Strahl
3RH0DEU6K Apr 16, 2013 @ 06:15am
Reply Hi RickThanks for your comments. Can I be more specific on this one:
I am using InstallShield Express provided with VFP9 as the installer for my application. The resultant files after installation of my app on a Windows7-64 bit machine in Program Files (x86)\common files\microsoft shared\VFP are (Foxhhelp files,Report??.app files+) VFP9r.dll, VFP9RENU.dll, VFP9t.dll,MSVCR71.dll (the last of which I added within InstallShield and is also present in the Program Files (x86) application directory).Within Windows7-64 bit the application runs fine if Run from the Administrator account, or from a Standard account installed from that account and Run under the Run as Administrator command. However, the users in question are restricted to UAC and are not able to use Run as Administrator. Consequently the Run command fails with the error "Cannot locate the Microsoft Visual FoxPro support library". Curiously, when the application is installed from the Standard User account the Desktop icon link to the exe file and the All Programs start folders only appear on the Admin account.Now, if I then install VFP9 on the Windows7-64 bit machine, then uninstall it, the application can be installed from the Standard User account, and Run from it (not elevated as Administrator). Further, under these conditions the Desktop icon and All Programs start folders are on the correct Standard User account. Removal of remaining VFP entries for the VFP9 in the registry reverts behaviour for a newly installed version of my app to that previously experienced with the error. Presumably this is a registration problem, as you suggested.I wonder if you have any further ideas on this one, and how InstallShield might be modified to sort the problem, i.e. to properly register the necessary files at the time of installation of the app.Thanks and regards,
Andrew Hall
FoxPro runs fine on 64 bit Windows. if you're distributing the application either run an installer to put the runtime files in their proper place (in the program files/common files location) or put them into your application folder. If you're not using an installer the latter is a better choice.Realize though that you need true admin rights (not running under User Account Control) to register the FoxPro runtime files. I think runtime registration fails silently and that's the most likely reason you're seeing this error you're encountering. If you want to manually register make sure you use an Admin Command prompt (Click Run As Administrator on the Command Prompt shortcut).
+++ Rick ---
Hi RickI am distributing an application in VFP9 SP2 compiled as an executable on Windows 7 32 bit OS. It runs OK on XP thro Windows 7 (32 bit) but when the application is run on a computer with Windows 7 64 bit OS the user encounters the message "Cannot locate the Microsoft Visual FoxPro support library". The .exe is in a folder under the Program Files (x86) folder and in the same folder are the msvcr71.dll, foxtools and foxuser files. The library appears to have registered correctly. Have you any idea what the issue may be here, and how to overcome it?Thanks and regards,
Andrew Hall
amzn_assoc_placement = "adunit0"; amzn_assoc_search_bar = "false"; amzn_assoc_tracking_id = "westwindtechn-20"; amzn_assoc_ad_mode = "manual"; amzn_assoc_ad_type = "smart"; amzn_assoc_marketplace = "amazon"; amzn_assoc_region = "US"; amzn_assoc_title = ""; amzn_assoc_linkid = "92c5c8418608c84353019f4e6402f408"; amzn_assoc_asins = "B0B13Y2QVW,B09QV692XY,B0B3949C14,B07ZWK2TQT";
Another equally reliable way to solve the "msvcr71.dll missing Windows 10" error is to download and transfer MSVCR71.dll to the desired system directory on the computer. This can be done using the Web since there are sites containing DLL files available for download.
"DeepGuard on Charter Security Suite", which may also be known as F-Secure also causes games not to load; enabling compatibility mode solves this issue.
"The game crashes with a message telling me it "has stopped working" and gives me an exception number..."
This may be due to your DEP settings (see elsewhere in this FAQ). There have also been issues reported by people using F-Secure; if you use this software, you may wish to try disabling it temporarily to see if that helps.
"I am getting 'Connection Error (3050) .... (Could not lock file.)' regularly....'
You need to set TEW2020.exe to be 'safe' in whatever antivirus software you are using, as it's currently blocking the game from creating files. You will also need to go into the Databases folder and remove all ".ldb" files that may be there, to recover from the damage already done (while TEW2020 is closed!). Another thing you can do to help is access the Properties menu for TEW2020.exe; in the General tab of some operating systems there will be "Security: This file came from another computer...." and a button saying Unblock. Click that button.
"I cannot find my database \ files on my computer..."
The default path is Program Files \ GDS \ TEW2020. If the folder is not appearing, you have either installed it somewhere else (in which case, search for "TEW2020.exe") or you are not in administrator mode (see top of this post).
I was running the game outside of admin mode and now can't find my save games...
You will need to 'rescue' your save games from non-admin mode in order for them to work. The following method can be used (quoted from a user post):
You should be in admin mode all the time, but you should be able to move the save files from their current location in order to keep using them. Assuming you are using Windows 7, the files should be stored in a hidden folder called appdata. If you don't have hidden folders displayed, then appdata can be found by typing "C:\Users\USERNAME\AppData" into the Windows Explorer taskbar (or in your start menu), substituting USERNAME for, well, your username! Once in appdata, you should be able to find your save files by going into "Local\VirtualStore\Program Files (x86)\GDS\TEW2020\Databases\DATABASE NAME".
Copy the save folders from that location to your default GDS directory (within Program Files) and they should work perfectly. If you are struggling to locate the files within AppData, then another option would be to search the AppData folder for "TEW2020.mdb" (minus quotations). Once the results appear right-click on one of them and click Open File Location from the drop-down menu.
When I try to load the game I get: "The application failed to initialize properly (0xc0000005). Click on OK to terminate application." OR I'm trying to run the game but it just doesn't start (but the trial version works fine).
This is because your license is being blocked from activating by your operating system. You need to disable your DEP (Data Execution Prevention), which can be done by:
1. Right-click on "My Computer"
2. Select "Properties"
3. Click on the "Advanced" Tab.
4. Click on the Performance "Settings" Button
5. Click on the "Data Execution Prevention" Tab
6. Verify that "Turn on DEP for essential Windows programs and services only" is selected. If it is not, select that option and click "APPLY" and then try and run the game. (Note: Even if you see that option checked already, go ahead and uncheck and then recheck it to ensure that its activated!)
7. If the problem persists, go back and select the other option "turn on DEP for all windows programs and services EXCEPT those I select" and ADD the following files:
"runservice.exe" (Will be found in C:\Windows)
"TEW2020.exe" (Found in your game folder)
8. Click APPLY then Reboot and then relaunch the game.
"When I try to load the game I get the hour glass, but it only lasts a few seconds and nothing happens. The trial version runs without issue."
This is most likely because your license is being blocked; please see the answer above about changing your DEP settings. If that does not work you would need to contact Scott, as per the Elicense FAQ.
"The game will not load because it says I am not meeting the minimum screen size of 1366x768, but my screen is bigger than that...."
The game must have 1366x768 pixels available. If you have screen magnification turned on then you may have less than this, even if your screen is actually bigger. You must turn off the magnification or alter your resolution.
"Clicking OK on the pop-up message box doesn't do anything..."
This is because your DPI settings are incorrect, meaning the graphic is 'stretched' and therefore the picture of the OK button is not in the same place as the clickable area. See the earlier answer about weird-looking screens for information on how to alter your DPI settings.
"I started negotiations with a wrestler and now the game is freezing when processing hirings..."
This is almost always because you are using a number format where "1,000" means "one - decimal place - zero zero zero" instead of "one thousand" (such as German or Italian, for example). I've tried to block this by not using commas wherever possible and by having the game check for those numerical settings on start-up, but in some places these measures are not always effective. I would recommend that for the time being you switch either to English (or change the numerical settings so that a comma is not a decimal place), both easily done via your Operating System (Control Panel -> Regional and language settings, usually), when using TEW as that should allow you to play without problem.
"I am getting 'Runtime Error 3159, Not A Valid Bookmark' or 'Runtime Error 3343, Unrecognized Database Format' or 'Runtime Error 3011' or 'Runtime Error 3112, Record(s) cannot be read; no read permission on 'tblGameInfo'' or "Connection Error 3049, tblGameInfo could not be found" or "Connection Error 3049, File May Be Corrupt"..."
Unfortunately this means that the Microsoft database that we use for the game has been corrupted; currently it is not known why this happens (this is not an issue specific to TEW).
You should first go to Options -> Remote Assistance and try using the code repairdb. If you cannot get to the Options screen to try this then you can do the same thing by pressing the Repair button on the load game screen.
If that does not work, you should apply the backup file (using the Game Recovery button on the Load Game menu; if you cannot access this screen then you can perform the same operation manually by replacing your TEW2020.mdb save game file, found in Databases -> Name -> SaveGames -> Name, with the one found in its Backup folder).
In the rare case that none of the above works then you will need to start a new thread for further help.
Also, some virus checkers can cause connection issues. In particular, Avast is notorious for causing problems. You may have to temporarily disable your antivirus or alter its settings to stop connection issues.
"I am getting 'RTE 3021 No current record' when trying to view someone's profile when they have an accented / foreign character in their name OR when accessing a list where a worker with an accented / foreign character in their name would be the first person in the list OR the game is freezing when the first AI show is being handled..."
The first two reasons mean that your computer does not have the correct language settings to handle all accented / foreign characters. The third reason usually means this - you can easily check by trying to view the profile of a worker who has an accented character in their name (like many luchadors for example). The game should automatically detect this when you open the game. As the warning message will say, you can have the game automatically replace the accented characters with unaccented versions by running the Data Check utility (in the editor). If you already have begun a save game then you can apply the same process to your save game by going to Options -> Remote Assistance and using the code languagecheck.
If you do not want to use the fix described above, the easiest way to solve this is to change the language for non-unicode programs to English within Windows. The way to do this differs slightly depending on what version of Windows you are running, but it is usually found in Control Panel -> Region and Languages and then either under Administrative or Advanced. If this does not work, you can also try changing your language to English. If that all fails, please try installing a Spanish language pack.
(NB: Please be clear that RTE 3021 is a generic error; just because you're getting it does not mean that this answer applies to you. If you're not getting warnings about language when you open the game and / or can happily access profiles with accented characters in them then the above probably does not apply to you. If you're already past the first month of gameplay then you almost certainly do NOT have a language issue.)
"Some of the worker names have a "?" symbol where there would be an accented character..."
This means you do not have the correct language pack to show accented characters. Please see the previous answer.
"I am getting Connection Error 3447..."
Please see the following article: here
"I am getting Error 3358 or 'Warning! Connection to C:\Program Files (x86)\GDS\TEW2020\system\TEWSettings.mdb has failed (Cannot open the Microsoft jet engine workgroup information file.) The program must now close.'..."
This is appears to be an external issue where an update or other program has corrupted a necessary Windows file. Please see either this thread or this thread (external sites) for talk on the subject and possible ways to fix your issue.
"I am getting an error that says 'ActiveX cannot create object'..."
This would suggest that your ActiveX controls are out of date. this page explains about it and you should try the solution marked as Resolution 1. If that does not work, because the DAO360.DLL file is part of a bigger pack for database support in Microsoft called the MDAC then you may need to run that installer independently. You can find it -us/down...s.aspx?id=5793. You should install that, restart your PC, and then see if the game works. In the unlikely event that that doesn't work, you should try uninstalling the game, running the MDAC installer, reinstalling the game, restarting your PC, and then running the game (in that precise order).
"When trying to play the game, I get Runtime Error 429, Runtime Error 383, Runtime Error 339, or Runtime Error -2147024770 (8007007e)..."
First uninstall then reinstall the game, in case it didn't finish installing the DLL files correctly the first time. If that doesn't work, click Run from your Windows Start menu, and type: