none
What does USE_CTRLDLL=1 in SOURCES file do? RRS feed

  • Question

  • I am in the process of updating an older windows driver. I am using Build.exe and the associated tool set included in the WinDDK (7600.16385.1). Reviewing the SOURCES file I came across the following macro: USE_CTRLDLL=1. I cannot find any documentation related to this on MSDN (https://msdn.microsoft.com/en-us/library/ms910176.aspx) or third party sites. Any idea as to what this macro actually tells the tool set to do?
    Thursday, November 5, 2015 3:42 PM

Answers

  • I suspect someone typo'd meaning to put in USE_CRTDLL which is obsolete and instead should be USE_MSVCRT.


    Don Burn Windows Driver Consulting Website: http://www.windrvr.com

    Thursday, November 5, 2015 3:50 PM

All replies

  • I suspect someone typo'd meaning to put in USE_CRTDLL which is obsolete and instead should be USE_MSVCRT.


    Don Burn Windows Driver Consulting Website: http://www.windrvr.com

    Thursday, November 5, 2015 3:50 PM
  • Thanks Don.  Interestingly enough, the USE_MSVCRT macro is already present to pull in the Visual C++ libraries.  I will remove USE_CTRLDLL and see what if any impacts it has on compilation, linkage, ultimately execution of the driver.  I will let you know how I make out.
    Friday, November 6, 2015 2:14 PM
  • neither of these directives change how a KM driver is compiled as a KM driver does not link against UM CRT libraries

    d -- This posting is provided "AS IS" with no warranties, and confers no rights.

    Friday, November 6, 2015 5:11 PM