Prev Previous Post   Next Post Next

XP service model

Posted: 10-09-2003, 12:12 AM
Hello,

I have an old communications analysis application that
relies on information provided by a low level service.
Suppose the name of this application is "MYAPP" and the
name of the service it utilizes is "MYSVC." Suppose that
MYAPP functions properly under Windows NT Workstation 4.0
and Windows 98. The setup instructions for this
application read as follows:

---
(1) If you plan to run under Windows 95, add the
following line to the [386enh] section of your SYSTEM.INI
file and reboot:

[386enh]
device=C:\myapp\mysvc.vxd

(2) If you plan to run under Windows NT, simply run the
program file myapp.exe. A dialog box pops up asking you
whether you wish to install the appropriate device
driver; answer "OK." This will automatically install the
corresponding MYSVC.SYS device driver into
C:\Windows\System32\Drivers and add the appropriate
registry keys to your system.
---

I am unable to run my application on Windows XP using
neither setup method (1) nor (2). So I tried the
following from a command prompt:

---
C:\>net start mysvc
System error 31 has occurred.

A device attached to the system is not functioning.


C:\>net stop mysyc
The MYAPP Application Driver service is not started.

More help is available by typing NET HELPMSG 3521.
---

I then opened up the Services administration tool and
fruitlessly searched for the "MYAPP Application Driver"
service. I did not locate the service. In the Windows
registry, I searched for MYSVC. I found it under the "My
Computer\HKEY_LOCAL_MACHINE\SYSTEM\ControlSet002
\Services\Mysvc" tree. Here are the data values:

---
My Computer\HKEY_LOCAL_MACHINE\SYSTEM\ControlSet002
\Services\Mysvc

Name Type Data
DependOnService REG_MULTI_SZ NDIS
DisplayName REG_SZ MYAPP Appl. Driver
ErrorControl REG_DWORD 0x00000001 (1)
Start REG_DWORD 0x00000003 (3)
Type REG_DWORD 0x00000001 (1)

My Computer\HKEY_LOCAL_MACHINE\SYSTEM\ControlSet002
\Services\Mysvc\Enum

Name Type Data
Count REG_DWORD 0x00000000 (0)
INITSTARTFAILED REG_DWORD 0x00000001 (1)
NextInstance REG_DWORD 0x00000000 (0)
---
I also find identical keys under ControlSet003 and
CurrentControlSet.

Does anyone understand the difference between the VXD
virtual device driver model and the service driver model?
Can anyone help me understand this problem so I can run
my application under Windows XP? Thanks for your help.

-j
Reply With Quote

Responses to "XP service model"

 
LinkBack Thread Tools Display Modes
 


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Forum Jump


Similar Threads
Thread Thread Starter Forum Replies Last Post
Vista and the Bell-Padula Model pestocat Windows Vista Security 5 05-21-2006 12:48 AM
Win32_ComputerSystem.Model SLE Windows XP WMI 0 02-23-2005 12:10 PM
Win XP Liteon Model LTN 485S Robert Windows XP Device Drivers 0 09-13-2003 04:32 AM
TDK FDD-100 USB Floppy Player (model#FDD-100) Hofbraeu11 Windows XP Device Drivers 0 08-08-2003 01:14 AM
new all in one printer model lexmarkX125 JOSE L BONILLA Windows XP Hardware 1 07-12-2003 10:45 PM