Saturday, June 17, 2017

Clipper5: Unrecoverable error 650: Processor stack fault

650 Out of stack space


Explanation: stack space is exhausted.

Action: Some suggestions to resolve the problem are:
  1. Use STACK or PROCEDURE DEPTH command to instruct the linker to increase the stack space at link time.
  2. Check for recursion. Some modifications to the CA-Clipper errorsys.prg may cause a recursive call, which will exhaust the call stack.
  3. Try using the default CA-Clipper errorsys.prg if the errorsys.prg was modified to test for runaway recursion caused by an error occurring while attempting to handle an Error Object.
  4. Check for UDFs/.PRGs that have the same name as an internal CA-Clipper function.
  5. Check for use of an incorrect or invalid version of the Errorsys.prg, i.e., the Summer '87 CA-Clipper Errorsys.prg does not use an Error object.

References


CA-Clipper 5.3 - Error Messages itlnet.net
Unrecoverable error 650; processor stack fault tek-tips.com

Wednesday, April 24, 2013

Ubuntu: Numlock Keypad Not Working

System > Preferences > Keyboard


If you're using Ubuntu, and num lock isn't letting you use your number keypad, here's what to do:
  1. Click on the System Menu 
  2. Go to Preferences sub menu 
  3. Select Keyboard 
  4. Click on the Mouse Keys tab 
  5. Uncheck "Pointer can be controlled using the keypad"
The keypad should now behave as expected when numlock is on.

Ctrl-Shift-NumLock


I know on my computer the numlock key can get disabled by wrong key combinations. Your keyboard recognizes you are typing the numlock key. Try Ctrl-Shift-NumLock and see if that restores it.

References


Ubuntu Numlock Keypad Not Working by Michael Phipps
Thread: [SOLVED] num lock quits working on hardy Ubuntu Forums

Saturday, September 15, 2012

NTVDM: Processor Affinity

From a shortcut


Now if you find that running an application on a specific CPU core works well, you might want to use it again in the future. If so, chances are that you won’t want to have to go through the Task Manager each time. Fortunately you can create a shortcut to launch an application with a specific affinity setting.

For example, to launch Disk Defragmenter so that it runs only on CPU 0, you would create a shortcut with the following command line:

C:\Windows\System32\cmd.exe /C start /affinity 1 dfrgui.exe

References


Change the Processor Affinity setting in Windows 7 to gain a performance edge By Greg Shultz, TechRepublic
Troubleshooting an MS-DOS application which hangs the NTVDM subsystem in Windows XP and Windows Server 2003 by Mark Wilson
Older Foxpro Dos freezing on XP. Visual FoxPro Developer Center

Friday, July 22, 2011

How to open a password protected Paradox DB

If you have your own Paradox DB, and you cannot remember the password, here are some universal Paradox passwords...
PARADOX 7.0 and 5.0: "jIGGAe" and/or "cupcdvum"
PARADOX 4.x (DOS): "nx66ppx"

References


How to open a password protected Paradox DB (if you do not know the password) By Zarko Gajic, About.com Guide

Friday, July 1, 2011

HyperTerminal Alternatives for Windows 7

If you’ve recently upgraded to Windows 7 and are wondering what happened to HyperTerminal, you’re not alone! HyperTerminal was a sweet little program that let you connect to other computers, Telnet sites, host computers, BBSs, etc using your modem or Ethernet connection.

In Windows 7 and Vista, you will no longer find the HyperTerminal program. If you need HyperTerminal to control serial devices, there is a way to get it back! Also, there are several new alternatives to HyperTerminal that are probably better for secure shell access and troubleshooting modems.

Windows Remote Shell


Firstly, if you only need remote shell access, you can use the new Windows Remote Shell command line option in Windows 7 and Vista. To learn more about using WRS, simply open a command prompt and type in winrs /?.

It’s basically a SSH replacement that allows remote command line access over an encrypted connection. It also uses the SOAP protocol.

Phone and Modem Options


If you were using HyperTerminal to troubleshoot modems, you can now use Phone and Modem Options to do this. Go to Control Panel, click on Hardware and Sounds and then click on Phone and Modem Options.

All you have to do is provide information about the Country/Region, Area Code, Carrier Code, and Outside Dial Number to access the dialog box. Once you do that, you can troubleshoot your modem in Windows 7 or Vista.

HyperTerminal Alternatives


If you don’t want to use all these alternative methods, you can still use alternative programs for HyperTerminal. Here are some of my favorites.

HyperTerminal Private Edition – This is a commercial terminal emulation program that you can use to communicate with serial COM ports, dial-up modems, and TCP/IP networks.

TeraTerm – TeraTerm is an open-source terminal emulator and SSH module that supports IPv6, SSH1, SSH2, Telnet, serial ports, and file transfer protocols (XMODEM, Kermit, ZMODEM, B-PLUS, etc).

Putty – Another free Telnet and SSH implementation for Windows. It also is an xterm terminal emulator. This is probably my favorite alternative to HyperTerminal.

Original XP HyperTerminal


If you just can’t live without the original HyperTerminal in Windows XP, you can actually extract two files from your XP installation and copy them over to Windows 7 or Vista.

The two files you will need are hypertrm.dll and hypertrm.exe. Simply copy those files into any directory on your machine and it will work. You should be able to find hypertrm.exe in C:\Program Files\Windows NT and hypertrm.dll in C:\Windows\System32.

If you have the Windows XP CD, you should be able to find both of these files in the i386 directory on the CD.

So that’s about it! Even though HyperTerminal is no longer in Windows 7, it’s really not needed since you have a lot of great alternatives like Putty, etc. If you want it simply because you’ve been using it for a long time, either download the Private Edition or copy the files from XP. Enjoy!

References


HyperTerminal Alternatives for Windows 7 Help Desk Tips For IT Pros

DOS Shell: Cannot load VDM IPX/SPX support

Symptom: When you open a DOS shell or if you run some programs in the DOS shell, you will get an error: Cannot load VDM IPX/SPX support

Causes: On Windows 2000 (maybe Windows XP and others), when you install CSNW and Novell's Netware client, it adds extra stuff to your autoexec.nt file. When you uninstall the client, it leaves a few turds around on your system (don't they all?) that could cause problems.

Solution: Edit your %SystemRoot%\system32\autoexec.nt file and delete three lines.

* Double-click on my computer
* Double-click on C:
* Look for "WINNT" or "WINDOWS". Remember which one you saw.
* Start -> Run
* Type in notepad c:\winnt\system32\autoexec.nt
If you saw "WINDOWS" instead of "WINNT" use notepad c:\windows\system32\autoexec.nt
* Look for these lines:

REM Install network redirector
lh %SystemRoot%\system32\nw16
lh %SystemRoot%\system32\vwipxspx

* Delete those three lines, and only those three lines.
* File -> Save
* Close Notepad – You are done!

Problem solved.

References


Uninstalling CSNW Rumkin.com

Thursday, June 2, 2011

Remote Desktop Connection: Advantage Local Server Error 5185

5185 AE_LOCAL_CONN_RESTRICTED


Advantage Error Guide

Advantage Local Server connections are restricted when used from a web server, an application server, a terminal server, or any other type of middleware or server product used to access data on behalf of remote computers.

If you receive this error, it is because your application attempted to make a local server connection from one of these restricted environments. Please review the Advantage Local Server Connections portion of the end user license agreement (license.txt, Section B) for details.

It is possible to get this error when you are not violating the license agreement. If, for example, your web application accesses local data that it uses internally, but is never transferred to a client, that usage is legal.

If you are using the Advantage Local Server to access data in this manner (or some similar manner where no data is used or seen by a client), and you receive this error code, you can add the following line to the ads.ini file under the [SETTINGS] section to disable this check:

MTIER_LOCAL_CONNECTIONS=1

Note Disabling this check when in violation of permitted connection scenarios set forth in the end user license agreement is a material breach of the license agreement and places you liable to provide appropriate consideration and remedy to iAnywhere.

Note The ads.ini file can be placed in the same directory as the application, in order to modify this behavior on an application-specific basis.

The specific text in the Advantage end user license agreement regarding use of Advantage Local Server and middleware connections (Section B) is as follows. Refer to the Advantage license agreement, license.txt, for the complete EULA.

If an application using this SOFTWARE PRODUCT is distributed to work without the Advantage Database Server (i.e., it uses the Advantage Local Server to access data), the application must act as a "client" that directly accesses and uses the data. To be specific, only computers that have the Advantage Local Server DLL loaded into memory can have access to the data that is obtained by that Advantage Local Server DLL. The application cannot act as "middleware" or as a "server" by having the data forwarded by any means to a separate computer. In other words, it is illegal to use the Advantage Local Server with a web server, an application server, a terminal server, or any other type of middleware or server product to access data on behalf of remote computers. An Advantage Database Server (a.k.a., remote server) product must be purchased and used to allow this SOFTWARE PRODUCT to access data on behalf of applications running on remote computers.

References


Advantage Error Guide: 5185 AE_LOCAL_CONN_RESTRICTED
MediSoft 16 Reports - Microwize Online Community