first driver project
- From: "gissa" <ghielec@xxxxxxxxxxxxxxxxxx>
- Date: 30 Dec 2006 00:47:53 -0800
I am using CE 6.0
I am trying to write my first driver!! I made a DLL with all the
required functions and I exported them as in this example
http://msdn2.microsoft.com/en-us/library/aa459176.aspx
And added the required registry key to load driver on boot
[HKEY_LOCAL_MACHINE\Drivers\BuiltIn\LCDDriver]
"Dll"="LCDDriver.dll"
"Prefix" = "LCD"
"Index"=dword:5
"Order"=dword:5
"FriendlyName" = "LCD Driver"
"Ioctl"=dword:0
Then I get the errors below. Any input is appreciated
RegReadActivationValues
RegQueryValueEx(Drivers\BuiltIn\LCDDriver\BusPrefix) returned 2
!!!ERROR! Trying to load DLL 'LCDDriver.dll' fixed-up to user address
into Kerne
l.
!!!ERROR! MUST SPECIFY 'K' FLAG BIB FILE.
DEVICE!CreateDevice: couldn't load 'LCDDriver.dll' -- error 193
CreateDevice: creation of type 'LCD', index 5, lib 'LCDDriver.dll'
returning 0x0
0000000, error code 2
DEVICE!I_ActivateDeviceEx: couldn't activate: prefix LCD, index 5, dll
LCDDriver
..dll, context 0xd031eab4
DeviceFolder::LoadDevice(Drivers\BuiltIn\LCDDriver) last 144 Ticks
.
- Follow-Ups:
- Re: first driver project
- From: gissa
- Re: first driver project
- Prev by Date: Re: Synchronization between ISR and IST - I2C Based device
- Next by Date: Re: first driver project
- Previous by thread: driver loading sequence
- Next by thread: Re: first driver project
- Index(es):
Relevant Pages
|
|