>On 2002-03-27 06:16:59, Stefan wrote:
>How can I create with Borland C++ com files that don't have calls to DOS functions?
>Thank you!
Uhm... just don't use dos functions
lol
Actually, in essence, you can't use any functions
provided to you... ie, any libc functions. Some
of them will probably not use dos ints (such as
the string functions) but without the source,
you can't be 100% sure, so I'd avoid them
entirely (you're going to have to rewrite them
anyway, so...).
If you do want to know which functions do or do not
use dos you'll have to compile an example and load
it into debug and look for any calls to interrupts,
specifically 21h, but you'll also want to look
out for bios ints as well 13h, 10h, etc.
Actually, as a general rule, if it uses ints,
you probably can't use it.
jeff