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. Application check for virus

Application check for virus

Scheduled Pinned Locked Moved C / C++ / MFC
c++salesquestion
4 Posts 3 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.
  • G Offline
    G Offline
    Gopi Nath
    wrote on last edited by
    #1

    Hello, We have an application. We want to check while starting that application in any system (customer place) whether any virus is there or not or the exe went out with or without virus. Can we do this in C++ in the application startup itself or can we use any third party software? Please suggest. Regards, Gopinath.

    L D G 3 Replies Last reply
    0
    • G Gopi Nath

      Hello, We have an application. We want to check while starting that application in any system (customer place) whether any virus is there or not or the exe went out with or without virus. Can we do this in C++ in the application startup itself or can we use any third party software? Please suggest. Regards, Gopinath.

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

      Gopi Nath wrote:

      Can we do this in C++ in the application startup

      Not unless you know how to write a virus check program, and have a database of all known viruses.

      1 Reply Last reply
      0
      • G Gopi Nath

        Hello, We have an application. We want to check while starting that application in any system (customer place) whether any virus is there or not or the exe went out with or without virus. Can we do this in C++ in the application startup itself or can we use any third party software? Please suggest. Regards, Gopinath.

        D Offline
        D Offline
        Dave Kreskowiak
        wrote on last edited by
        #3

        No, you can't. The reason being is executable viruses have a nasty habit of hiding themselves from attempts to find them. File system reads/writes get redirected to what looks like good data, so your attempts to find them will actually find nothing. It's far better to rely on actual anti-virus software, which protects the actual file system code from attempts to redirect/replace it. That's something your code cannot do when a user launches it.

        Asking questions is a skill CodeProject Forum Guidelines Google: C# How to debug code Seriously, go read these articles.
        Dave Kreskowiak

        1 Reply Last reply
        0
        • G Gopi Nath

          Hello, We have an application. We want to check while starting that application in any system (customer place) whether any virus is there or not or the exe went out with or without virus. Can we do this in C++ in the application startup itself or can we use any third party software? Please suggest. Regards, Gopinath.

          G Offline
          G Offline
          Gopi Nath
          wrote on last edited by
          #4

          Thank you Richard and Dave for reply and suggestion. Regards, Gopinath.

          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