From: "Ryan Crumley" 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 Precedence: bulk > 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.