Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. General Programming
  3. ATL / WTL / STL
  4. swprintf_s procedure not find in xp

swprintf_s procedure not find in xp

Scheduled Pinned Locked Moved ATL / WTL / STL
help
2 Posts 2 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • V Offline
    V Offline
    vishalgpt
    wrote on last edited by
    #1

    Hi, I am writing a driver for windows XP and above OS. But i got stuck in swprintf_s, In Windows 7 it works nicely, but in windows xp, Procedure is not found. swprintf works in windows xp, but the ddk warns about swprintf, that it is banned. I am using Windows 7 DDK. please suggest some work-around in this condition.

    Regards, Vishal

    L 1 Reply Last reply
    0
    • V vishalgpt

      Hi, I am writing a driver for windows XP and above OS. But i got stuck in swprintf_s, In Windows 7 it works nicely, but in windows xp, Procedure is not found. swprintf works in windows xp, but the ddk warns about swprintf, that it is banned. I am using Windows 7 DDK. please suggest some work-around in this condition.

      Regards, Vishal

      L Offline
      L Offline
      Lost User
      wrote on last edited by
      #2

      vishalgpt wrote:

      please suggest some work-around in this condition.

      Not all the CRT functions are available at driver level so you need to check the DDK documentation for compatible functions. Many of the DDK functions have the prefix Rtl and are described here[^].

      Unrequited desire is character building. OriginalGriff I'm sitting here giving you a standing ovation - Len Goodman

      1 Reply Last reply
      0
      Reply
      • Reply as topic
      Log in to reply
      • Oldest to Newest
      • Newest to Oldest
      • Most Votes


      • Login

      • Don't have an account? Register

      • Login or register to search.
      • First post
        Last post
      0
      • Categories
      • Recent
      • Tags
      • Popular
      • World
      • Users
      • Groups