console window output in win 10 64 bit

Moderator: Rathinagiri

Post Reply
RPC
Posts: 281
Joined: Fri Feb 10, 2017 4:12 am
DBs Used: DBF

console window output in win 10 64 bit

Post by RPC »

Hi
I have compiled old clipper program in console mode using HMG 3.4.4 build 64/32 on laptop having win 10 64 bit.
When I run the program I get console window which produces "diamond" lines in place of straight lines as produced in 32 bit win 7.
also the console window shows characters different from expected characters.  I have enclosed SS from both os 32 bit
console win 7 32 bit 20200109_031345.jpg
console win 7 32 bit 20200109_031345.jpg (4.63 MiB) Viewed 13579 times
and 64 bit
Console window 64 bit.png
Console window 64 bit.png (268.69 KiB) Viewed 13579 times
.
How can I get proper console window in 64 bit machine
Thanks
User avatar
AUGE_OHR
Posts: 2060
Joined: Sun Aug 25, 2019 3:12 pm
DBs Used: DBF, PostgreSQL, MySQL, SQLite
Location: Hamburg, Germany

Re: console window output in win 10 64 bit

Post by AUGE_OHR »

hi,

what sign do you use for Line :?:

your Box in middle are correct so i guess you do not use Cl*pper Constant B_SINGLE from BOX.CH :idea:
have fun
Jimmy
RPC
Posts: 281
Joined: Fri Feb 10, 2017 4:12 am
DBs Used: DBF

Re: console window output in win 10 64 bit

Post by RPC »

Hi AUGE_OHR
Thanks for the reply
I use "chr(195)+replicate(chr(196),r-l-1)+chr(180)" for drawing the line which is producing heart and diamonds.CHR(195)=├,CHR(196)= ─,CHR(180)= ┤
The box in the middle is drawn using achoice. In that also when I press down arrow key the bottom line of box turns into diamonds
I have also used CHR(194)= ┬,CHR(179)=│,CHR(193)= ┴ at the bottom, to draw vertical lines which also shows superscript 3 instead of │
User avatar
AUGE_OHR
Posts: 2060
Joined: Sun Aug 25, 2019 3:12 pm
DBs Used: DBF, PostgreSQL, MySQL, SQLite
Location: Hamburg, Germany

Re: console window output in win 10 64 bit

Post by AUGE_OHR »

hi,

do you use ANSI or UNICODE Version :?:
have fun
Jimmy
RPC
Posts: 281
Joined: Fri Feb 10, 2017 4:12 am
DBs Used: DBF

Re: console window output in win 10 64 bit

Post by RPC »

I am using UNICODE version.
RPC
Posts: 281
Joined: Fri Feb 10, 2017 4:12 am
DBs Used: DBF

Re: console window output in win 10 64 bit

Post by RPC »

I am using UNICODE version.
Post Reply