Re: Problem loading driver in wince 5 by Bruce
Bruce
Fri Dec 22 16:38:36 CST 2006
Are you writing a stream interface driver? If so, you need **ALL** of the
other stream interface entry points, that is XXX_*
--
Bruce Eitman (eMVP)
Senior Engineer
beitman AT applieddata DOT net
Applied Data Systems
www.applieddata.net
An ISO 9001:2000 Registered Company
Microsoft WEP Gold-level Member
"Shiju" <mshiju@gmail.com> wrote in message
news:%23NoQuOhJHHA.5000@TK2MSFTNGP03.phx.gbl...
> Hi,
> Here is my dll entry point in the driver code.
>
> BOOL WINAPI
> DllEntry(
> HANDLE hDllHandle,
> DWORD dwReason,
> LPVOID lpReserved
> )
> {
> switch (dwReason) {
> case DLL_PROCESS_ATTACH:
> DEBUGREGISTER((HINSTANCE)hDllHandle);
> DEBUGMSG(ZONE_INIT, (_T("%s: Attach\r\n"), pszFname));
> DisableThreadLibraryCalls((HMODULE) hDllHandle);
> break;
>
> case DLL_PROCESS_DETACH:
> DEBUGMSG(ZONE_INIT, (_T("%s: Detach\r\n"), pszFname));
> break;
>
> default:
> break;
> }
> return TRUE ;
> }
>
> And below is my .def file,
>
> LIBRARY TOUCHPAD
>
> EXPORTS
> DllEntry
> TPD_Init
> TPD_Deinit
>
> Thanks,
> Shiju
>
> Geoff wrote:
>> show us your sources file and your def file.