Solved

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

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

Free book by J.Peter Bruzzese, Microsoft MVP

Are you using Office 365? Trying to set up email signatures but you’re struggling with transport rules and connectors? Let renowned Microsoft MVP J.Peter Bruzzese show you how in this exclusive e-book on Office 365 email signatures. Better yet, it’s free!

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
In desperate need of help 8 132
why debugging a macro i s difficult 10 28
How to organize data in excel ? 2 112
How do I install gcc 4.8.4 on a Linux Ubuntu 14.04 machine? 5 1,567
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…
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…
The goal of this video is to provide viewers with basic examples to understand and use pointers in the C programming language.
The goal of this video is to provide viewers with basic examples to understand how to create, access, and change arrays in the C programming language.

911 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

23 Experts available now in Live!

Get 1:1 Help Now