Path: utzoo!censor!geac!torsqnt!news-server.csri.toronto.edu!cs.utexas.edu!tut.cis.ohio-state.edu!snorkelwacker.mit.edu!hsdndev!yale!quasi-eli!cs.yale.edu!spolsky-joel From: spolsky-joel@cs.yale.edu (Joel Spolsky) Newsgroups: comp.windows.ms.programmer Subject: Re: Accessing devices with port I/O in Windows? (LONG) Message-ID: <27675@cs.yale.edu> Date: 8 Dec 90 22:03:50 GMT References: <16648@brahms.udel.edu> <7690@umd5.umd.edu> Sender: news@cs.yale.edu Organization: Yale University Computer Science Dept., New Haven, CT 06520-2158 Lines: 16 Nntp-Posting-Host: zoo-gw.cs.yale.edu Originator: spolsky@suned.CS.Yale.Edu In article <7690@umd5.umd.edu> dzoey@terminus.umd.edu (Joe Herman) writes: >In article <16648@brahms.udel.edu> garrett@brahms.udel.edu (Joel Garrett) writes: >>If we already have source code for a driver in C under the regular MS-DOS >>environment, can this be easily adapted to work in the Windows Environment? > >Warning note: I think what I am saying is correct. I have a DDK, but am >only just starting to get familiar with the concepts. Please let me know >if I flub this. You are making this all much more complicated than necessary. You can just take the old library, change the function calls to PASCAL, and recompile it as a DLL. That's all. A DLL can use in and out from the C library. (So can a Windows program). Joel Spolsky spolsky@cs.yale.edu