delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1997/04/16/01:34:32

From: "Ryan Crumley" <ryc AT usa DOT net>
Newsgroups: comp.os.msdos.djgpp
Subject: Re: Allegro & DirectX - please read
Date: Tue, 15 Apr 1997 20:31:42 -0600
Organization: x18
Lines: 19
Message-ID: <5j1dla$pqr$3@excalibur.flash.net>
References: <33527a80 DOT 36537095 AT news DOT ping DOT be>
NNTP-Posting-Host: epasc1-39.flash.net
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp

> I'm sorry guys, but it's virtually impossible to use a Windows SDK in
>a DOS environment. In theory it can be done of course. You would need
>to program a software layer that is capable of loading & executing
>windows executable formats. Mainly vxd's & DLL's but you'll also need
>to emulate some (or a lot?) of the windows kernel functionality
>because DirectX uses windows calls to allocate resources, etc...
>Basicly, you would need a Windows95 subsystem running on top of DOS.
>But good luck, once you have finished that, you aren't far away from a
>Freewin95! :-)

So what you are saying is that you can not use functions in vxd's and dll's
from a dos program? Next time you get a change take a look at Ralph Browns
interupt list, it can be done and has. There is a winsock library available
for djgpp which involves what you are talking about. There is no need for
you to load the vxd's because windows handles this for you.




- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019