Friday, August 17, 2012

How to Fix Visual C Assertion Failure


1. Launch Visual Studio. Select your application's project. Click on the right-most drop-down menu in the project workspace. It shows two entries: 'Win32 Debug' and 'Win32 Release.' Choose 'Win32 Debug.'
2. Click on 'Build' in the project workspace menu or select 'Build <application project name>' to rebuild the application in Debug mode.
3. Run the new build within Visual Studio.
4. Note the information provided such as source filename, line number, module name or library when you get the 'Assertion Failure' message. Press 'Retry' to debug the source code.
5. Press 'Alt+7' ('Alt' and then '7' while Alt is pressed) to bring up the Debug window. Look in the call stack from top to bottom, and go to the first function from your application source code, skipping the system calls that are a part of the code generated by the compiler.
6. Read your application function line by line. Note and track each function parameter, local, global and static variable used. Look for pointer variables being used without a conditional statement that checks if the pointer is NULL. Look for uninitialized pointers and array indices gone out of bounds.
7. Correct programming errors that you find in and/or around this piece of code, possibly in the parent function or previously called function.
8. Follow the debug call stack to see which line in the application caused the violation if the error is not yet diagnosed. Step through the nested calls to detect the error. These could be a combination of MFC, Windows library and system calls.
9. Use the utility 'PageHeap.exe' to debug complex Windows Memory Heap reference errors that cannot be caught by diagnosing application code. Use the information given by the assertion message for further tracking.
Read more ►

Thursday, August 16, 2012

How to Replace the Kernel32.Dll File


Reinstall Windows--For System Crashes
1. Obtain a Windows installation CD that is the same exact type as your current system; for example, Windows 98, ME, 2000, XP, etc. Place it into your disc drive. If your system is corrupted, you will have to manually install the program.
2. Type 'FORMAT C:' and hit 'Enter.' This will turn your PC back to its factory settings, thereby erasing all of your data, software, and upgrades.
3. Press 'Y' when asked if you want to install the program. Wait for the program to install.
4. Type 'D:' and hit 'Enter.' This tells your computer to read the CD in the disc drive. The 'D' drive is the default letter for your disc drive.
5. Type 'CD\Win98 (or whatever your operating system is) and press 'Enter.'
6. Type 'Setup' and press 'Enter.'
7. Follow the installation prompts from the CD.
Reinstalling the Kernel32.dll File Only--For a Working PC
8. Download and install a registry cleaner to your computer.
9. Run the program and fix any '.dll' errors specified in the log report.
10. Download the Kernel32.dll file from a website with a clean copy of this file.
11. Press 'Start', then 'Run' and type in 'system32.'
12. Copy the Kernel32.dll file to this directory (or drag and drop it into the window). Close the window. You should no longer receive the '.dll' error message after this point.
Read more ►

Wednesday, August 15, 2012

How to Remove OCX Files


1. Launch Windows and log in with an administrator account.
2. Click the 'Start' button and choose the 'Control Panel' selection. The Control Panel folder will open. Click on 'Programs' and choose the 'Programs and Features' link. A window will appear that displays all the programs installed on your computer.
3. Click on the file name of the OCX files you want to remove. Click the 'Uninstall' button at the top of the programs list.
4. Click the 'Next' button in the Windows Uninstaller Wizard that appears to begin removing the OCX file. A progress bar will appear displaying the status of the removal process. Click 'Done' in the verification message to close the uninstaller.
5. Restart the computer to save any changes to the settings and configurations.
Read more ►

How to Fix Your Computer If it Says Insufficient System Resources


1. Read the error message carefully. It should give information about what kind of resources you need.
2. Close other programs and restart your computer. Some resources, like memory, are held temporarily and restarting the computer will release these resources. If you still receive lack of memory errors, you may need to install more memory.
3. Make space available on your hard drive. Right click on the Start menu and choose 'Open Windows Explorer.' Delete files you do not need. Go to the Control Panel and choose 'Uninstall a program.' Select programs you don't need, one at a time and click on 'Uninstall.'
4. Download and install a malware remover such as Adaware or Webroot Spysweeper. Update the software to install the latest malware definitions. Use the 'Scan' function to scan the whole computer, select any problems found and remove them. Restart the computer.
Read more ►

Tuesday, August 14, 2012

How to Run a DLL As an EXE


1. Press the 'Start' button and click 'Run.'
2. Type the letters 'cmd' into the 'Run' dialogue box. A command prompt window appears on your screen.
3. Type this command line into the command prompt window,'RUNDLL.EXE <dllname>,<entrypoint> <optional arguments>'. The <dllname> is the .dll file name you want to run. The <entrypoint> is the location in the .dll file that can be run via Rundll32. The <optional arguments> are arguments you need in order to run a DLL.
4. Press 'Enter' to run a DLL as an EXE.
Read more ►

Monday, August 13, 2012

How to Restore Sndvol32.Exe


1. Press the Windows button on your keyboard. Type 'cmd' in the 'Search' field. Press Enter.
2. Insert the Windows installation disc into the CD drive.
3. Type 'cd i386' in the prompt and press Enter.
4. Type 'sndvol32.ex_ c:\windows\system32\sndvol32.exe' in the prompt and press Enter.
5. Type 'Exit' and press Enter. Reboot your computer and ensure the error messages are gone. Open an audio file to ensure the sound works.
Read more ►

How to Fix Java Errors for Free


1. Disable any anti-spyware programs you have running if you run into the 1721 error during installation. This error occurs when a security tool interferes with the installer package. Disabling an anti-spyware program varies depending on the program, but can generally be performed by right-clicking the security tool's icon on the system tray and clicking 'Disable.'
2. Delete the contents of the Java 'jre' folder if you run into the 25099 installation error. Access this folder by clicking the Windows 'Start' button, 'My Computer,' double-clicking the 'C:' drive and double-clicking the 'Program Files' folder.
3. Double-click the 'Java' and double-click the 'jre' folder. Delete the contents of this folder. Try installing Java again (see Resources).
4. Check your Internet connection if you run into the 403 error. This error mostly occurs if the network fails during installation, and Java loses access to the download server and stops in the middle of installation.
5. Download Java offline you are still running into problems (see Resources). Run the setup to install Java. Close and relaunch your Web browser when the installation is complete.
6. Enable the Java console. Do so by clicking the Windows 'Start' button, selecting the 'Control Panel' and double-clicking the Java icon.
7. Click the 'Advanced' tab and click the '+' sign next to Java Console. Place a check on the 'Show Console' radio button and click 'Apply.'
Read more ►

Sunday, August 12, 2012

How to Run Shell.Dll


If You Can Log in to Windows...
1. Power on the computer and log in to Windows with an administrator account.
2. Click the 'Start' button, 'All Programs,' 'Accessories' and then 'Command Prompt.' The Windows Command Prompt dialog box appears. Note that you can type 'Cmd' or 'Command' in the 'Start' menu search box and press 'Enter' to access the command prompt as well.
3. Type 'sfc /scannow' without quotes at the command prompt. Wait for Windows to scan system files and verify them. If Windows detects a corrupt or missing 'Shell32.exe' file, it replaces it from the Windows Protected Files hidden folder. If the file in the cache folder is corrupt or damaged, Windows prompts you for the installation disc so that it can copy the file from it.
If You Cannot Log in to Windows...
4. Shut down the computer and restart it. Insert the Windows installation disc into the optical drive as soon as the system restarts. Press the 'F1,' 'F12' or whichever other key your system requires to access the boot menu for your computers. Select the 'Boot from CD' option and press 'Enter.' Note that some PCs boot from the CD automatically without user intervention. If you need to press a key to access the boot menu, the system usually displays the key you need to press on the screen during the boot process. If the machine does not display the message, refer to the user guide for your computer.
5. Click 'Next' when presented with the 'Select Language' screen. Click 'Next' on the 'Repair Your Computer' and 'System Recovery Options' screens. Note the drive letter of the Windows Recovery Tools in the second 'System Recovery Options' window. Note that it is probably not the 'C:\' drive, as Windows usually writes the files to a partition separate from the one used for the operating system.
6. Click 'Command Prompt' in the 'Choose a Recovery Tool' window. The Command Prompt appears on the screen. After the command prompt appears, type the command:'sfc /scannow /offbootdir=f:\ /offwindir=f:\windows' -- include the spaces but not the quotes. Change the 'f' variable that appears twice in the command line to the drive letter that appeared in the 'System Recovery Options' window. For instance, if the drive shown was the '(L:)' drive, change the 'f' to 'l' in the command line.
7. Press the 'Enter' key and wait for Windows to scan your system and check for missing or corrupted systems files, such as System32.dll. If Windows finds problems, it replaces the files with ones from the installation disc.
8. Type 'Exit' to close the Command Prompt window and restart the computer.
Read more ►

Saturday, August 11, 2012

How to Repair WinSock in XP


Repairing Winsock in Windows XP SP2 and Later
1. Click the 'Start' button, then click 'Run.'
2. Type 'cmd' in the 'Run' dialog box and press 'Enter' to display the Windows XP command prompt.
3. Type 'netsh winsock reset' and press 'Enter.' Windows should display the message 'Successfully reset the Winsock Catalog.'
4. Close the command prompt and restart Windows XP. When the computer is finished restarting, you should be able to get online. If you still have a problem, continue to the next section.
Repairing Winsock in Windows XP SP1 and Earlier
5. Click the 'Start' button, then click 'Run.'
6. Type 'regedit' in the 'Run' dialog box and press 'Enter' to open the registry editor.
7. Use the list of folders in the left pane of the window to navigate to 'HKEY_LOCAL_MACHINE,' 'System,' 'CurrentControlSet' and 'Services.'
8. Right-click the 'Services' folder, then click 'Export.' Navigate to the desktop, type 'Winsock Backup' in the 'File Name' box and click the 'Save' button. This creates a backup of the portion of the Windows XP registry that you are about to modify. If you experience a problem during this process, double-click the 'Winsock Backup' file to restore the registry to its original state.
9. Right-click the 'Winsock' folder under the 'Services' folder, then click 'Delete.' Click 'Yes' to confirm.
10. Right-click the 'Winsock2' folder under the 'Services' folder, then click 'Delete.' Click 'Yes' to confirm.
11. Close the registry editor and restart Windows XP.
12. Click the 'Start' button after Windows reloads, then click 'Control Panel.'
13. Double-click the 'Network Connections' icon.
14. Right-click the icon representing the connection that you use to get online (usually 'Local Area Connection) and then click 'Properties.'
15. Click the 'Install' button, then double-click 'Protocol' in the window that appears.
16. Click the 'Have Disk' button.
17. Type 'C:\Windows\inf' in the box labeled 'Copy manufacturer's files from.' Click 'OK.'
18. Double-click 'Internet Protocol (TCP/IP).'
19. Click the 'Close' button, then restart Windows XP. When the computer finishes restarting, you should be able to get online.
Read more ►

Friday, August 10, 2012

How to Fix Normaliz.dll


1. Download the Normaliz.dll file.
2. Right-click the saved DLL file and click 'Copy.' Go to the 'Start' menu, click 'Computer,' double-click the 'C:' drive, double-click the 'Windows' folder and then the 'System32' folder. Right-click anywhere in a blank space and click 'Paste.'
3. Go to the 'Start' menu, type 'run' in the 'Start Search' box and press 'Enter.' Type Regsvr32 'C:\Windows\System32\normaliz.dll' in the search field and hit 'Enter' to register the DLL. Click 'Yes' in the pop-up to confirm the registration.
4. Restart your computer.
Read more ►

Thursday, August 9, 2012

How to Reinstall MSVCR71 DLL


1. Download a new copy of the MSVCR71.DLL file and save it to the desktop of your computer (see link in Resources).
2. Extract the MSVCR71.DLL file from the downloaded ZIP file. Right-click on the file and select 'Extract All.' Click the 'Browse' button and select the directory of the program that is requesting the DLL file.
3. Allow Windows to overwrite any existing MSVCR71.DLL file in the directory. Reboot your computer when the extraction is complete.
4. Open a Command Prompt. Click the Windows logo and enter the command 'cmd' in the 'Search' field for Windows Vista or Windows 7. Press 'Enter.' Click the 'Start' button and then choose 'Run' for Windows XP or an earlier version of Windows. Type 'cmd' into the 'Open' box and press 'Enter.'
5. Type the command 'regsvr32 {path}\msvcr71.dll' at the command prompt where '{path}' is the full path to the location where you extracted the DLL file ('C:\application\' for instance). Restart the computer again.
Read more ►

Monday, August 6, 2012

How to Restore DLL Cache Files


1. See Resources for a link to dll-files.com. From this website you can download a large range of .dll files.
2. Search for the particular file that needs to be restored. If you're not sure what it is, open the program that was bringing up the .dll cache file errors. It will state what cache files they are. Write these down (many .dll files look incredibly similar), then go back and select the file. The files can be searched by the first letter (or number) that appears in the name, then the list will be alphabetized.
3. Click 'Click here to go to the download of---' with the name of the file you need to download following it. A new window will now load. This time select 'Download ------' followed by the name of the file. The file will now be downloaded in zip format to the computer.
4. Open the file. If a zip program is installed on the computer it will automatically launch. If not, the second link in 'Resources' provides a trial version of WinZip. Locate the file in the system directory (C:\\Windows\System32) and click 'Extract.' This will restore the .dll cache files that were missing.
5. Restart the computer. When the computer finishes booting, launch the program that was having the issues. It should now open and run properly without any error.
Read more ►

How to Re


1. Go to the free DLL download website (see link in the References section) and click 'Download hal.dll' link. Click 'Save' in the pop-up window to begin the download.
2. Double-click the saved ZIP file to automatically decompress it with either WinRAR or WinZIP. Right-click the 'hal.dll' file and select 'Copy.'
3. Go to the 'Start' menu, select 'Computer' or 'My Computer,' double-click the 'C:' drive, double-click the 'Windows' folder and then the 'System32' folder, right-click anywhere in a blank space and select 'Paste.'
4. Go to the 'Start' menu, select 'Run' (type 'run' and hit 'Enter' after clicking the 'Start' menu in Windows 7 and Vista), type the following command in the search line and click 'OK' to register the DLL:regsvr32 'C:\Windows\System32\hal.dll'
Read more ►

Saturday, August 4, 2012

How to Fix Dbghelp.Dll


1. Download and save the dbghelp.dll file to your desktop.
2. Click 'Start,' and type 'C: Windows/System32' in the 'Start Search' field. Press 'Enter.' The System32 folder opens.
3. Locate the fdbghelp.dll file on the desktop. Drag the file to the System32 folder. Confirm the replacement of the file when the prompt appears.
4. Click 'Start' and type' regsvr32 dbghelp.dll' in the 'Start Search' field. Press 'Enter' to register the file.
Read more ►

Wednesday, August 1, 2012

How to Repair Run


1. Right-click anywhere on your Windows desktop. Select 'Properties.' If you use Windows Vista or Windows 7, select 'Personalize' and click on 'Display Settings' at the bottom of the list.
2. Click on the 'Settings' tab. Ignore this step if you use Vista or Windows 7.
3. Click on the 'Color Quality' drop-down menu. Select the 'Highest (32 Bit)' option.
4. Click on 'Apply.' Select 'OK' to end the task.
Read more ►