AndrewMozley
Programmer
I have a DOS application into which includes mouse routines developed from the Clipmous library. I have modified the GETSYS.PRG routines to interpret the mouse movements, and clicks, and this works satisfactorily.
When I run this program in a DOS (cmd) window it works fine, and responds to the mouse moves.
However, on one Windows XP machine (my client’s), I find that if I create a shortcut directly to my application (for example, a link to myprog.exe, starting in C:\myprogs), the program runs correctly, but does not pick up mouse clicks. Instead it just highlights (in red) one or more characters (from a SAY statement), usually close to where I have clicked.
If (on this same machine) I open a cmd window (so, a shortcut to DOS cmd), and then navigate to c:myprogs, and then key in myprog.exe, the program works fine, mouse and all.
I cannot discover the reason for this difference in behaviour : On the one hand a direct shortcut to myprog.exe; on the other hand opening a DOS session, then calling myprog.exe from the DOS command window.
I had thought there might be something in the properties of the shortcut, but cannot see anything obvious). Is there perhaps a setting in CONFIG.NT which I need to have?
On my own machine the program works fine, whichever way it is started.
If anyone has experienced a similar problem I would be very grateful to hear.
Andrew
When I run this program in a DOS (cmd) window it works fine, and responds to the mouse moves.
However, on one Windows XP machine (my client’s), I find that if I create a shortcut directly to my application (for example, a link to myprog.exe, starting in C:\myprogs), the program runs correctly, but does not pick up mouse clicks. Instead it just highlights (in red) one or more characters (from a SAY statement), usually close to where I have clicked.
If (on this same machine) I open a cmd window (so, a shortcut to DOS cmd), and then navigate to c:myprogs, and then key in myprog.exe, the program works fine, mouse and all.
I cannot discover the reason for this difference in behaviour : On the one hand a direct shortcut to myprog.exe; on the other hand opening a DOS session, then calling myprog.exe from the DOS command window.
I had thought there might be something in the properties of the shortcut, but cannot see anything obvious). Is there perhaps a setting in CONFIG.NT which I need to have?
On my own machine the program works fine, whichever way it is started.
If anyone has experienced a similar problem I would be very grateful to hear.
Andrew