Announcement

Collapse
No announcement yet.

Windows API

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

  • Tom Hanlin
    replied
    A quick test seems to work ok under Windows 2000, which is NT-based. If it doesn't
    work for you, you might look into the &H440D DOS functions (IOCTL). These are based
    on the main INT &H21 DOS interrupt, which may make them more likely to be supported.


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

    Leave a comment:


  • Lee Bergeron
    replied
    When running a DOS program in a Windows NT DOS box you
    cannot use Int13 DOS calls. Accessing Low level BIOS routines
    in Windows NT is not supported (as far as I know)

    Leave a comment:


  • Tom Hanlin
    replied
    Lee, why do you feel you need to access the Windows API for this? It seems like something that could be done entirely in DOS.


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

    Leave a comment:


  • Michael Mattias
    replied
    You cannot access the WinAPI from a DOS program, but you can access the WinApi from a Windows program which is SHELLed from your PB/DOS program.

    So, if you can get your question answered in the PB/CC forum, you can write a PB/CC program you can SHELL from your DOS program..

    Perhaps the API you will need to use is deviceIOControl (??)

    (I am not a hardware guy).


    MCM




    [This message has been edited by Michael Mattias (edited July 04, 2001).]

    Leave a comment:


  • Lee Bergeron
    started a topic Windows API

    Windows API

    Is it possible to access the Windows API with PBDOS 3.5?
    I need to run a PB DOS application and access the
    Floppy Drive in NT with low level commands (INT13 type).

    I don't want to re-write the huge program in PB CC.

Working...
X