none
XXX_Init not called but... RRS feed

  • Question

  • Hi,

    I have a new device driver that I tried to load with the system startup. With traces, I can see that DllEntry is being called but XXX_Init is not...

    After a few tries, I got it working by adding the "index" key.

    IF BSP_PORTSERVER
    [HKEY_LOCAL_MACHINE\Drivers\BuiltIn\PORTSERVER]
      "Prefix"="SRV"
      "Dll"="portserver.dll"
      "Index"=dword:1
      "Order"=dword:28
    ENDIF
    I thought it was deprecated... Why do I have to add this key?
    Thursday, June 9, 2011 7:24 PM

All replies

  • That is the only change that you made to get your driver to load?

    What version of the OS are you targetting?


    Bruce Eitman (eMVP)
    Senior Engineer
    Bruce.Eitman AT Eurotech DOT com
    My BLOG http://geekswithblogs.net/bruceeitman

    Eurotech Inc.
    www.Eurotech.com
    Thursday, June 9, 2011 7:51 PM
    Moderator
  • I'm targetting 6.0R3.

    Yes, this is the only changed I made. The entry point of the dll was called (DllEntry) but SRV_Init was not. After adding index key, it started to work...

     

    Thursday, June 9, 2011 7:55 PM