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. C / C++ / MFC
  4. Searching for a Manifest File

Searching for a Manifest File

Scheduled Pinned Locked Moved C / C++ / MFC
algorithmshelp
3 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.
  • S Offline
    S Offline
    si_69
    wrote on last edited by
    #1

    Hi I am trying to check for the existance of the file "Microsoft.VC80.CRT.manifest" within a user defined folder to try and find it i am using dwResult = SearchPath(lpbPath,lpbFilename,lpbExt,dwBufferSize, szBuffer, &lpbPEnd); where lpbFilename = "Microsoft.VC80.CRT" and lpbExt = ".manifest" lpbPath with be a user defined path passed to the function however nothing is returned,i use this function to search for traditional file type (i.e something.ext) and this works fine can anyone help at all thanks simon

    _ 1 Reply Last reply
    0
    • S si_69

      Hi I am trying to check for the existance of the file "Microsoft.VC80.CRT.manifest" within a user defined folder to try and find it i am using dwResult = SearchPath(lpbPath,lpbFilename,lpbExt,dwBufferSize, szBuffer, &lpbPEnd); where lpbFilename = "Microsoft.VC80.CRT" and lpbExt = ".manifest" lpbPath with be a user defined path passed to the function however nothing is returned,i use this function to search for traditional file type (i.e something.ext) and this works fine can anyone help at all thanks simon

      _ Offline
      _ Offline
      _AnsHUMAN_
      wrote on last edited by
      #2

      Try BOOL PathFileExists(LPCTSTR pszPath);

      Somethings seem HARD to do, until we know how to do them. ;-)_AnShUmAn_

      S 1 Reply Last reply
      0
      • _ _AnsHUMAN_

        Try BOOL PathFileExists(LPCTSTR pszPath);

        Somethings seem HARD to do, until we know how to do them. ;-)_AnShUmAn_

        S Offline
        S Offline
        si_69
        wrote on last edited by
        #3

        _AnShUmAn_ wrote:

        Try BOOL PathFileExists(LPCTSTR pszPath);

        thanks

        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