release mode compilation

This is a discussion on release mode compilation within the C++ Programming forums, part of the General Programming Boards category; My comments were not exaclty pointed towards you rather the seeming misunderstanding of viruses on this post, I believe that ...

  1. #16
    Registered User
    Join Date
    May 2002
    Posts
    317
    My comments were not exaclty pointed towards you rather the seeming misunderstanding of viruses on this post, I believe that it is more vocabulary than anything else however. Hex editors are a great thing, you can go through and add cheat codes and change the number of lives you start out with and what not. Also for attaching 'viruses' I believe the corrext term here is a trojan horse. Which is a bug embedded in a program which could spawn a virus (a program which multiplies and attaches itself to other programs) or a worm( a program which moves around however generally keeping only one copy [I choose not to get into a multiheaded one at this point]) or that simply just does something at a predetermined point.

  2. #17
    Registered User Mario's Avatar
    Join Date
    May 2002
    Posts
    317
    Originally posted by Traveller
    My comments were not exaclty pointed towards you rather the seeming misunderstanding of viruses on this post, I believe that it is more vocabulary than anything else however.[...] Also for attaching 'viruses' I believe the corrext term here is a trojan horse. Which is a bug embedded in a program which could spawn a virus (a program which multiplies and attaches itself to other programs) or a worm( a program which moves around however generally keeping only one copy [I choose not to get into a multiheaded one at this point]) or that simply just does something at a predetermined point.
    Yes. It's a vocabulary problem. But you didn't get it right either.

    A virus is a virus is a virus... there's nothing of a trojan horse in a virus. They are completely different in architecture and capabilities. A virus is a program that has the ability to copy itself and attach this copy to other programs. These other programs, when fired up, will execute the virus and thus repeat the process, ad eternum... These infected programs can indeed be labeled "trojan horses". But that's more a slang than anything else. A virus is in fact a wonderful piece of software design.

    A trojan horse is a disguised program that, behind a cape of apparent benignity, hides malefic code. Very few trojans spawn viruses or copy themselves, simply because of 2 things:
    1. trojans horses that copy themselves would be easily spoted by the system as they are independent units. Not like a virus that only exists within another executable.
    2. Trojans horses are indeed piece of crap software. Made by lamers that don't understand their system well enough to take the plunge into lower level virus coding. They simply don't know how to.

    A Worm is similar to a virus. Difference here is that it is designed to operate under networks. It does not keep only one copy as you say. In fact, a worm creates several copies of itself as it moves through the network. It does this by "entering" a computer, spawn a copy and "inserting" this new copy in the network again. The computer stays infected while the worm moves through the network to infect some more.
    Regards,
    Mario Figueiredo
    Using Borland C++ Builder 5

    Read the Tao of Programming
    This advise was brought to you by the Comitee for a Service Packless World

  3. #18
    Registered User
    Join Date
    May 2002
    Posts
    317
    If you reread my post you will note that I said that you can use hex editors to attach trojan horses which can spawn viruses. I did not say that was their routine use, also ... ah nevermind.

  4. #19
    Registered User
    Join Date
    Jan 2002
    Posts
    387
    There is a big difference between a trojan horse and a virus, virii operate by themselves, and a trojan horse is a remote-access program, requiring another individual to control it.
    "There are three kinds of people in the world...
    Those that can count and those that can't."

  5. #20
    ¡Amo fútbol!
    Join Date
    Dec 2001
    Posts
    2,136
    My mistake. I thought you meant you wanted to run 2 programs at the same time from your program. I didn't fully read your post.

  6. #21
    Its not rocket science vasanth's Avatar
    Join Date
    Jan 2002
    Posts
    1,683
    Combining two exe's is completely possible.. there are tools called as Packers ( Usually used to combine trojans and virus with games. utilities etic...) this program takes two or more files as input and creates a single exe file.. I do not completely know how this works but when you double click the resulting file.. Both the files are executed.. if this is what you wanted.. Post a message i will give you the link to download it...

  7. #22
    Registered User tsarena's Avatar
    Join Date
    May 2002
    Posts
    8
    Yes Vasanth, that's what i really need for my progams.
    can u please give me the link to download it.

    thanx in advance

Page 2 of 2 FirstFirst 12
Popular pages Recent additions subscribe to a feed

Similar Threads

  1. can not set breakpoint in release mode
    By George2 in forum Windows Programming
    Replies: 4
    Last Post: 07-16-2008, 03:43 AM
  2. Results in Debug and Release mode are different
    By jaro in forum C Programming
    Replies: 11
    Last Post: 05-27-2006, 11:08 AM
  3. Debug Mode Vs. Release Mode
    By incognito in forum Tech Board
    Replies: 5
    Last Post: 12-18-2003, 03:06 PM
  4. 2min in debug mode, 3sec in release!
    By glUser3f in forum C++ Programming
    Replies: 9
    Last Post: 10-03-2003, 01:00 PM
  5. problem with MSVC++ 6's release mode
    By dirkduck in forum C++ Programming
    Replies: 13
    Last Post: 03-23-2002, 02:05 PM

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21