Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Windows 7 and problem with Clipper application

1,501 views
Skip to first unread message

Pawel Jablonski

unread,
Nov 4, 2011, 9:41:27 AM11/4/11
to antoni.j...@wp.pl
Hi,

With Windows 7, DOS 16-bit application does not enable to use alt-gr
(right alt) to type polish characters. Alt-gr works for other
applications, just for the Clipper application it doesn't. Any clues,
suggestions about the cause, fix etc would be appreciated :) !!!

thanks a lot in advance,
Pawel

dlzc

unread,
Nov 4, 2011, 10:53:06 AM11/4/11
to
Dear Pawel Jablonski:

On Nov 4, 6:41 am, Pawel Jablonski <pawelj...@gmail.com> wrote:
> Hi,
>
> With Windows 7,

32bit Windows, or 64bit Windows with Virtual PC (which is an
abominated version of WindowsXP)?

> DOS 16-bit application does not enable to use
> alt-gr (right alt) to type polish characters.
> Alt-gr works for other applications, just for
> the Clipper application it doesn't. Any clues,

NTVDM, command.com, or codepage...

> suggestions about the cause,

Micro$haft wants you to stop using / fielding 16-bit DOS executables,
so they selectively break features, so they can finally implement what
they think is a secure operating system.

> fix etc would be appreciated :) !!!

One fix is to migrate to (x)Harbour, free version (just conversion
time) of which are nearly 100% Clipper compatible, and you can get 32-
bit Windows console programs with very little effort. The commercial
xHarbour can add Clipper Tools and more.
http://www.harbour-project.org/
http://www.xharbour.org/
http://www.xharbour.com/

I'd recommend you use Google, with this search string:
alt-gr windows 7 site:microsoft.com
... maybe one of them will have figured out how to make it work.
Until they send out the next set of updates, and something else will
break.

David A. Smith

E. Fridman

unread,
Nov 4, 2011, 11:32:23 AM11/4/11
to
Pawel,

> Alt-gr works for other applications,
> just for the Clipper application it doesn't.

Does it work for any other 16-bit DOS application?

Eugene

=========================================

Pawel Jablonski

unread,
Nov 4, 2011, 12:36:49 PM11/4/11
to
On Nov 4, 3:53 pm, dlzc <dl...@cox.net> wrote:
> Dear Pawel Jablonski:
>
> On Nov 4, 6:41 am, Pawel Jablonski <pawelj...@gmail.com> wrote:
>
> > Hi,
>
> > With Windows 7,
>
> 32bit Windows, or 64bit Windows with Virtual PC (which is an
> abominated version of WindowsXP)?
>
> > DOS 16-bit application does not enable to use
> > alt-gr (right alt) to type polish characters.
> > Alt-gr works for other applications, just for
> > the Clipper application it doesn't. Any clues,
>
> NTVDM, command.com, or codepage...
>
> > suggestions about the cause,
>
> Micro$haft wants you to stop using / fielding 16-bit DOS executables,
> so they selectively break features, so they can finally implement what
> they think is a secure operating system.
>
> > fix etc would be appreciated :) !!!
>
> One fix is to migrate to (x)Harbour, free version (just conversion
> time) of which are nearly 100% Clipper compatible, and you can get 32-
> bit Windows console programs with very little effort.  The commercial
> xHarbour can add Clipper Tools and more.http://www.harbour-project.org/http://www.xharbour.org/http://www.xharbour.com/
>
> I'd recommend you use Google, with this search string:
> alt-gr windows 7 site:microsoft.com
> ... maybe one of them will have figured out how to make it work.
> Until they send out the next set of updates, and something else will
> break.
>
> David A. Smith

Hi David,

thanks a lot!!! Its 32-bit Windows 7. The application is run from cmd.
Polish characters (typed by alt-gr) work from cmd, however once you
type form the application itself, they're not. Not sure, if that's
what you've asked for

thanks,
Pawel

dlzc

unread,
Nov 4, 2011, 3:42:33 PM11/4/11
to
Dear Pawel Jablonski:

On Nov 4, 9:36 am, Pawel Jablonski <pawelj...@gmail.com> wrote:
...
> thanks a lot!!! Its 32-bit Windows 7. The
> application is run from cmd. Polish
> characters (typed by alt-gr) work from cmd,
> however once you type form the application
> itself, they're not.

The 16-bit application may be started by CMD.exe, but an NTVDM session
is started and it is turned over to COMMAND.com. Did you do the
search I recommended?

> Not sure, if that's what you've asked for

Sometimes I talk too fast...

;>)

David A. Smith

frank van nuffel

unread,
Nov 5, 2011, 4:18:15 AM11/5/11
to
Hi Pawel,

Perhaps try to locate the Win7 Control Panel settings' equivalent (can only
access XP for the moment) of the Regional Settings -> Languages -> Text
Services & Input Languages -> Settings
(or Details -> Advanced)

Just like Regional Settings -> Advanced (language for programs that are not
Unicode compatible) does for character _output_ the above mentioned dialog
provides means for _input_ to adjust

Though i'm not sure whether this could help .oO and no clue where to find
this in Win7 :-(

HTH,

Best regards,

frank

"Pawel Jablonski" schreef in bericht
news:9b40c3ab-1094-418c...@x2g2000vbd.googlegroups.com...

Ian Boys

unread,
Nov 5, 2011, 10:59:38 AM11/5/11
to
Have you set the keyboard for your region? in
C:\Windows\System32\Autoexec.nt add this line but with your regional
settings:

C:\Windows\System32\KB16 UK,437,C:\Windows\System32\KEYBOARD.SYS

It seems that the DOS Window ignores the other Windows settings.

Regards
Ian Boys
DTE Systems Ltd

Pawel Jablonski

unread,
Nov 6, 2011, 3:52:06 AM11/6/11
to ANTONI JAB%u0141O%u0143SKI
Hi Ian,

thanks for the hint.
Indeed I use this solution under XP, however without this second part:
c:\windows\system32\keyboard.sys

I used only: c:\windows\system32\kb16 us. I don't state code page
number, because I have given the U.S., and this is just the 437 (it is
the American Programmer).
And that worked.

Thanks to those instructions, e.i. reconfiguration of my keyboard
(Polish) to the U.S. (the American programmer), I could apply add-ons:
EGAPL.EXE and KEYBPL.EXE, which enabled me to use MAZOVIA standard
with "MA +" parameter or LATIN, with "LA +" parameter.

And it works great on XP.

On WIN-7 only the left ALT works. What more, ALT-C crashes the
application on one of the installations of Windows 7. However on a
different installation of WIN-7 it doesn't. Still Alt-gr doesn't
respond on both installations.

I miss right Alt, because everyone is accustomed to use the right Alt.

Thanks a lot for hints.

Pawel

Pawel Jablonski

unread,
Nov 6, 2011, 3:54:05 AM11/6/11
to
Hi David,

on Microsoft web page, the guy who mentions the problem, suggests its
Microsoft bug. Well, still not much hints there on solution, fix...

thanks for your help,
Pawel

dlzc

unread,
Nov 6, 2011, 11:50:47 AM11/6/11
to
Dear Pawel Jablonski:

On Nov 6, 1:54 am, Pawel Jablonski <pawelj...@gmail.com> wrote:
> On 4 Lis, 20:42, dlzc <dl...@cox.net> wrote:
> > On Nov 4, 9:36 am, Pawel Jablonski <pawelj...@gmail.com> wrote:
> > ...
>
> > > thanks a lot!!! Its 32-bit Windows 7. The
> > > application is run from cmd.  Polish
> > > characters (typed by alt-gr) work from cmd,
> > > however once you type form the application
> > > itself, they're not.
>
> > The 16-bit application may be started by
> > CMD.exe, but an NTVDM session is started and
> > it is turned over to COMMAND.com.  Did you
> > do the search I recommended?
>
...
> on Microsoft web page, the guy who mentions the
> problem, suggests its Microsoft bug. Well, still
> not much hints there on solution, fix...

I have given you the best hint. Move to (x)Harbour, now. Easily the
time you have spent so far trying to outsmart Micro$haft, could have
gotten you far to have a true 32-bit Windows console app.

What third party libraries does your application use?

David A. Smith

Pawel Jablonski

unread,
Nov 9, 2011, 5:01:43 AM11/9/11
to
Hi David,

sounds like a plan. The only third party library is dll library of
Posnet fiscal printer manufacturer. It's 16-bit version for DOS
applications, but I guess we would need 32-bit one.
The library could be downloaded from the following address:
http://www.posnet.com.pl/files/2915/Thermal-Lib%201.10.zip

Please let me know more info on how to convert...

thanks,
Pawel

Pawel Jablonski

unread,
Nov 9, 2011, 5:07:35 AM11/9/11
to
On Nov 6, 5:50 pm, dlzc <dl...@cox.net> wrote:

dlzc

unread,
Nov 9, 2011, 9:31:26 AM11/9/11
to
Dear Pawel Jablonski:

On Nov 9, 3:01 am, Pawel Jablonski <pawelj...@gmail.com> wrote:
<ORIGINAL PROBLEM STATEMENT, 2011nov04>
With Windows 7, DOS 16-bit application does not enable to use alt-gr
(right alt) to type polish characters. Alt-gr works for other
applications, just for the Clipper application it doesn't. Any clues,
suggestions about the cause, fix etc would be appreciated :) !!!
<END>
> sounds like a plan. The only third party library
> is dll library of Posnet fiscal printer
> manufacturer. It's 16-bit version for DOS
> applications, but I guess we would need 32-bit one.
> The library could be downloaded from the following
> address:
http://www.posnet.com.pl/files/2915/Thermal-Lib%201.10.zip
>
> Please let me know more info on how to convert...

Possible DLL (or other) choices are here:
http://www.posnet.com.pl/index.php?pid=1384

Adding comp.lang.xharbour to distribution. The first one is to wrap
the initial code in:
procedure MAIN
or
function MAIN
... followed by an appropriate RETURN statement.

Recommend you check one of these threads:
http://groups.google.com/group/comp.lang.xharbour/msg/399fccceffce8e8a
http://groups.google.com/group/comp.lang.xharbour/msg/6fe5157aed7c319c
http://groups.google.com/group/comp.lang.xharbour/msg/2a7bc19b6f003fcb
http://groups.google.com/group/comp.lang.xharbour/msg/0a38e1a514512d3e
... just click on "More options", then "View thread".

If someone lurking has similar threads for Harbour, please chime in.

David A. Smith
0 new messages