Prev: DeviceIoControl CD-ROM access works on one laptop and fails on oth
Next: How to stop driver loading on pci dev with wrong class code?
From: r1ddler on 23 Feb 2010 04:48 I use a file in my driver and in a win32 app. This file contains a swprintf_s When i use the app, everything works. When i use it in the driver, the driver gives a linkingerror. Is this not yet supported in WDK? Do i have to add an additional lib?
From: Maxim S. Shatskih on 23 Feb 2010 05:35 > When i use it in the driver, the driver gives a linkingerror. #ifdef it to RtlStringCchPrintfW -- Maxim S. Shatskih Windows DDK MVP maxim(a)storagecraft.com http://www.storagecraft.com
From: Doron Holan [MSFT] on 23 Feb 2010 18:06
IIRC vista is the first OS to export swprintf_s from ntoskrnl.exe, but like maxim said, you are better off using RtlStringCchPrintfW or StringCchPrintfW d -- This posting is provided "AS IS" with no warranties, and confers no rights. "r1ddler" <r1ddler(a)discussions.microsoft.com> wrote in message news:07D0E115-1059-4103-B250-3F3E4CF0C9EF(a)microsoft.com... > I use a file in my driver and in a win32 app. > This file contains a swprintf_s > When i use the app, everything works. > When i use it in the driver, the driver gives a linkingerror. > Is this not yet supported in WDK? > Do i have to add an additional lib? |