Thread: Urgent

  1. #1
    Registered User
    Join Date
    Feb 2008
    Posts
    6

    Unhappy Urgent

    I'm making a simple cnc driver and i have this problem when i start the program kaspersky 2009 is complaining and it's blocking my program.
    i've managed to isolate the problem but i can't seemed to find a solution here's the deal:
    i'm putting the program into the registry into the run folder (startup) and the the program it's being shot down and i receive heur.trojan.generic warning

    'd appreciate any help.


    p.s.:The program must go into startup trow the registry

  2. #2
    and the hat of int overfl Salem's Avatar
    Join Date
    Aug 2001
    Location
    The edge of the known universe
    Posts
    39,660
    http://www.catb.org/~esr/faqs/smart-...ns.html#urgent
    Not to mention, it's a crap thread title.

    And what exactly is your C++ question anyway (moved to tech)?

    IMO, this is a question better posted on a forum which supports your virus scanner.
    If you dance barefoot on the broken glass of undefined behaviour, you've got to expect the occasional cut.
    If at first you don't succeed, try writing your phone number on the exam paper.

  3. #3
    Registered User
    Join Date
    Feb 2008
    Posts
    6
    Quote Originally Posted by Salem View Post
    http://www.catb.org/~esr/faqs/smart-...ns.html#urgent
    Not to mention, it's a crap thread title.
    Sorry i'll try not to next time!
    Quote Originally Posted by Salem View Post
    And what exactly is your C++ question anyway (moved to tech)?

    IMO, this is a question better posted on a forum which supports your virus scanner.
    My c++ question was is there any way to bypass this problem using c++ get it?

  4. #4
    Malum in se abachler's Avatar
    Join Date
    Apr 2007
    Posts
    3,195
    It is generally poor form to forceably start an application. If you need it to do so, the user can place a shortcut to the executable in the startup folder. Putting it into the registry, where the average user cannot remove it or even know it is there, is in fact virus like behavior.
    Last edited by abachler; 11-03-2008 at 02:57 AM.

  5. #5
    and the hat of int overfl Salem's Avatar
    Join Date
    Aug 2001
    Location
    The edge of the known universe
    Posts
    39,660
    Perhaps you should use a recognised installer, which might be permitted to modify certain key registry entries, so long as certain steps are followed would work.

    But Joe Random's program modifying the startup registry entry - yeah, tell me again how that doesn't look like virus activity.

    abachler's startup folder idea is no less effective, and far more transparent.
    If you dance barefoot on the broken glass of undefined behaviour, you've got to expect the occasional cut.
    If at first you don't succeed, try writing your phone number on the exam paper.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. display character size...(quite urgent..)
    By karthi in forum C Programming
    Replies: 10
    Last Post: 07-11-2007, 09:42 PM
  2. beginner plzz help urgent
    By sara101 in forum C Programming
    Replies: 11
    Last Post: 01-14-2007, 10:38 PM
  3. Linked List Need Help Urgent
    By ykchua in forum C Programming
    Replies: 5
    Last Post: 08-17-2004, 02:57 PM