Re: Pro*C problem.

From: David Criswell <dcriswel_at_oracle.uucp>
Date: 6 Aug 93 03:47:19 GMT
Message-ID: <1993Aug6.034719.7981_at_oracle.us.oracle.com>


In article <744590730snz_at_hoxton.demon.co.uk> paul_at_hoxton.demo.co.uk writes: [I suggested - dbc]
>>void _settextposition (unsigned char Row, unsigned char Column)
>>_asm {
>> mov ah,2 ;Fnc 2 - set video cursor
>> mov bh,1 ;BH=video page
>> mov dh, Row
>> mov dl, Column
>> int 10h
>> }
>
>I don't think that will work because int 10h will cause a protection exception.
>Use ANSI codes as suggested by another poster.

aargh! Rookie maneuver on my part - you're absolutely correct about 10h. SQLPME maps the int 10h subfunctions onto int 20h, so the same snippet of code with the last line changed to read int 20h should work. ANSI is a viable alternative as well.

Dave Criswell
Oracle Corporation
At times they're extremely glad that I don't speak for them. Received on Fri Aug 06 1993 - 05:47:19 CEST

Original text of this message