Announcement

Collapse
No announcement yet.

WINAPI.INC

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • WINAPI.INC

    I downloaded a Powerbasic program that is asking for
    WINAPI.INC. Is this a file that should be in Power Basic
    somewhere?

    Thank you.

    ------------------

  • #2
    Robert,

    The winapi.inc is a file that is either used with PBWIN7 or PBCC3. It is
    located in a directory below the directory that was used to install the
    software. If you are using PB35, this program will not compile with this
    compiler.

    Allen

    ------------------

    Comment


    • #3
      The current main Windows API file is Win32API.inc, in fact.
      WINAPI.INC is the old 16-bit Windows (Win3.x) file from PB/DLL 2.0
      or so. If you have the 16-bit version of PB/DLL, you can find this
      file in your WINAPI folder under the PB/DLL installation folder, or
      download the current version from:
      http://www.powerbasic.com/files/pub/pbdll16/

      As Allen says, WINAPI.INC is of no use to PB/DOS, however.

      ------------------
      Tom Hanlin
      PowerBASIC Staff

      Comment


      • #4
        Originally posted by Tom Hanlin:
        As Allen says, WINAPI.INC is of no use to PB/DOS, however.
        Tom- now I am confused. I went back to site where I downloaded
        the PB program and it mentions "it is for PB 3.5/(Dos)" Maybe
        the author has made an honest mistake in describing it.

        Let me chuck this and ask a question. Can I do one or more of
        the following:
        [list=a][*]Can I control the size of fonts (I.e., double wide perhaps)
        <U>without</U> utilizing SCREEN 12 ?[*]Can I place a small graphic to the screen AND STILL be able
        to place data around it using LOCATE? I.e., perhaps place a JPG
        that all it says is OPTIONS (about double wide) and put a list
        options under it? (I hope I am making sense!)[/list=a]

        Thank you.

        Oh, a gentleman suggested Ivory Tower. If the person sees this,
        please email me. I would like to buy a product and having
        difficulty contacting you. My email address is
        [email protected]et. Thank you.

        ------------------


        [This message has been edited by Robert Carneal (edited February 28, 2003).]

        Comment


        • #5
          The EGA and VGA display adapters offered some support for designing
          your own fonts, but I don't recall the specifics. You'd need to do
          BIOS-level programming or find a library that handles that sort of
          thing. You can find some font support code in the Download section
          here, under Graphics and under Libraries.
          http://www.powerbasic.com/files/pub/pbdos/

          Graphics screen modes, such as SCREEN 12, will allow you to mix text
          and images with no problem. In these modes, the text is drawn on the
          screen just like a picture.

          ------------------
          Tom Hanlin
          PowerBASIC Staff

          Comment

          Working...
          X