Re: COM files by Heinz
Heinz
Wed Sep 20 16:57:35 CDT 2006
<mike7411@gmail.com> schrieb im Newsbeitrag
news:1158783965.783067.152720@k70g2000cwa.googlegroups.com...
> Is there a way to compile COM files (instead of EXE) in VC++?
You can compile .C or .CPP files, but no .COM files. Or do you want to
compile C|CPP into a .COM file?
.COM files are 16 bit apps, VC++ 2 and later are compilers for 32 bit apps,
so - no, there's no way. (Even with old 16 bit compilers you cannot compile
to .COM files directly. You could only strip anything from an .EXE which
didn't belong into a .COM with tools like exe2bin.)
Heinz