X-Authentication-Warning: delorie.com: mail set sender to djgpp-bounces using -f From: "Lawrence Rust" Newsgroups: comp.os.msdos.djgpp References: <43878fc6$0$21279$8fcfb975 AT news DOT wanadoo DOT fr> Subject: Re: PythonD Date: Sat, 26 Nov 2005 11:02:25 +0100 Organization: Software Systems X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 6.00.2800.1506 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1506 Lines: 44 Message-ID: <438832e4$0$21306$8fcfb975@news.wanadoo.fr> NNTP-Posting-Date: 26 Nov 2005 11:03:16 CET NNTP-Posting-Host: 83.193.186.167 X-Trace: 1132999396 news.wanadoo.fr 21306 83.193.186.167:1301 X-Complaints-To: abuse AT wanadoo DOT fr To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Reply-To: djgpp AT delorie DOT com "Jean-Pierre Le Rouzic" wrote in message news:43878fc6$0$21279$8fcfb975 AT news DOT wanadoo DOT fr... > Hello > > a) When I try to launch a python program making: "import webservers", this > import works fine under Windows, but do not work under dos. > I use the same parameters for python environment (or at least I think I use > the same parameters). > > b) The same program complains that a packet driver is not running while > under Windows, but the packet driver says under Windows: > H:\apps\python>e:\fdos\net\drivers\sl118\pktdrv\sis900.exe > SiS 900/7016 PCI Adapters Packet Driver Version 1.15 (16/Aug/2002) > (c) Copyright 2002 SiS Corporation. All Rights Reserved. > Error: no adapter found with that configuration > H:\apps\python> Windows XP, 2000 & NT4 do not permit device level access from user mode programs. Hence the packet driver is unable to detect the NIC. > How can I trick Windows to use it's NDIS driver maskeraded as a packet > driver? You need to use a packet driver emulator under XP and 2000. I wrote SwsVpkt just for this purpose, see: www.softsystem.co.uk/page7.html You can download it from: www.softsystem.co.uk/SwsVpkt1004.zip -- Lawrence Rust > What do you think of this? Thanks for help. > > Jean-Pierre > >