Solved

Int 21/AX=E905h (Map Root)inert in 95,NT4

Posted on 1998-08-20
3
182 Views
Last Modified: 2010-04-15
This sounds like an ASM question, but in truth I'm using
intdos() on good old BC3.

This function works fine in DOS 6.2 and fails in 95 and NT4
(retval 3 - "path not found"). I've watched the actual int21
in Turbo Debugger for the identical machine, identical .EXE
after rebooting the OS -- i.e., 100% reproducible.

Does this simply not work for > W3.1, or am I missing something?  Thanks.

P.S. this is a Netware programming question, in case anyone wishes to vomit.
0
Comment
Question by:BILLWOOD
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
3 Comments
 
LVL 11

Accepted Solution

by:
alexo earned 40 total points
ID: 1252199
NT does not implement INT21h functions at all.  Use DeviceIoControl() instead.
Win95 requires passing through a VxD (VWIN32) for certain INT21h calls.

There are some examples by Raymon Chen from MS at:
      http://www.dejanews.com/getdoc.xp?AN=207816158 
      http://www.dejanews.com/getdoc.xp?AN=211688212 
0
 

Author Comment

by:BILLWOOD
ID: 1252200
Thanks for the answer.  This is something I've needed to know for a long time.  I wish I knew what was the deal with 95, though.
0
 
LVL 11

Expert Comment

by:alexo
ID: 1252201
"the deal with Win9x" is that it is a patch on hack with an expected life span of 2-3 years.
0

Featured Post

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Summary: This tutorial covers some basics of pointer, pointer arithmetic and function pointer. What is a pointer: A pointer is a variable which holds an address. This address might be address of another variable/address of devices/address of fu…
Windows programmers of the C/C++ variety, how many of you realise that since Window 9x Microsoft has been lying to you about what constitutes Unicode (http://en.wikipedia.org/wiki/Unicode)? They will have you believe that Unicode requires you to use…
Video by: Grant
The goal of this video is to provide viewers with basic examples to understand and use for-loops in the C programming language.
The goal of this video is to provide viewers with basic examples to understand opening and reading files in the C programming language.

717 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question