Solved

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

Posted on 1998-08-20
3
177 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
  • 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

Better Security Awareness With Threat Intelligence

See how one of the leading financial services organizations uses Recorded Future as part of a holistic threat intelligence program to promote security awareness and proactively and efficiently identify threats.

Join & Write a Comment

Suggested Solutions

Have you thought about creating an iPhone application (app), but didn't even know where to get started? Here's how: ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ Important pre-programming comments: I’ve never tri…
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…
The goal of this video is to provide viewers with basic examples to understand opening and writing to files 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.

762 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

Need Help in Real-Time?

Connect with top rated Experts

19 Experts available now in Live!

Get 1:1 Help Now