Click here to Skip to main content
15,915,336 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Using OLE IStream in a thread Pin
Waldermort22-Apr-06 6:23
Waldermort22-Apr-06 6:23 
GeneralRe: Using OLE IStream in a thread Pin
Stephen Hewitt22-Apr-06 1:19
Stephen Hewitt22-Apr-06 1:19 
QuestionWhy can't debug in multy top document program(vs2003)? Pin
zhoucheng21-Apr-06 23:13
zhoucheng21-Apr-06 23:13 
QuestionSuggestions for Code Obfuscator and/or Encrypter Pin
JSadleir21-Apr-06 22:18
JSadleir21-Apr-06 22:18 
AnswerRe: Suggestions for Code Obfuscator and/or Encrypter Pin
Nick_Kisialiou22-Apr-06 0:53
Nick_Kisialiou22-Apr-06 0:53 
AnswerRe: Suggestions for Code Obfuscator and/or Encrypter Pin
Roland Pibinger22-Apr-06 1:04
Roland Pibinger22-Apr-06 1:04 
GeneralRe: Suggestions for Code Obfuscator and/or Encrypter Pin
JSadleir22-Apr-06 14:09
JSadleir22-Apr-06 14:09 
AnswerRe: Suggestions for Code Obfuscator and/or Encrypter Pin
John R. Shaw22-Apr-06 19:14
John R. Shaw22-Apr-06 19:14 
You seem to be confused about what obfuscation means. Obfuscating your C++ code will not change the machine code that is generated by the compiler, only the source code used to create the program. The person reverse engineering your code would not know if you obfuscated the original code or not.

There have been methods used to attempt to defeat reverse engineering of code (at the machine code level), but the ultimate result is that your program is slower and more difficult to debug. Any one who is determined to reverse engineer your code will be able to do it, because the best you can do is make it more difficult to do it. The reason for that is that nothing is hidden at the machine level.

A sophisticated decompiler may be able to take the machine code and produce a source code file from it. The resulting code will look nothing like the original code and may not even be in the same language as the original code. It will generate variable names like 'var1' or 'intVar1', because it will not know what the variables are intended to represent, that is also true of function names.

You have no choice but to depend on people to obey the law. That does not mean that it is always illegal to reverse engineer someone else’s code (regardless of what the licenses say), it just means that you can only do it for legal reasons. To figure out how it works so you can duplicate it and make a profit is not one of the legal reasons for reverse engineering code.


INTP
Every thing is relative...
GeneralRe: Suggestions for Code Obfuscator and/or Encrypter Pin
JSadleir22-Apr-06 21:23
JSadleir22-Apr-06 21:23 
GeneralRe: Suggestions for Code Obfuscator and/or Encrypter Pin
John R. Shaw22-Apr-06 22:02
John R. Shaw22-Apr-06 22:02 
GeneralRe: Suggestions for Code Obfuscator and/or Encrypter Pin
JSadleir25-Apr-06 16:50
JSadleir25-Apr-06 16:50 
GeneralRe: Suggestions for Code Obfuscator and/or Encrypter Pin
Blake Miller26-Apr-06 7:57
Blake Miller26-Apr-06 7:57 
GeneralRe: Suggestions for Code Obfuscator and/or Encrypter Pin
Nick_Kisialiou22-Apr-06 22:15
Nick_Kisialiou22-Apr-06 22:15 
GeneralRe: Suggestions for Code Obfuscator and/or Encrypter Pin
JSadleir25-Apr-06 16:55
JSadleir25-Apr-06 16:55 
QuestionWindows Registry and Kernle Mode Programs Pin
Dennis Tampoa21-Apr-06 21:42
Dennis Tampoa21-Apr-06 21:42 
QuestionCurrent Login User Pin
shadrach_india21-Apr-06 20:47
shadrach_india21-Apr-06 20:47 
AnswerRe: Current Login User Pin
Naveen21-Apr-06 21:06
Naveen21-Apr-06 21:06 
GeneralRe: Current Login User Pin
shadrach_india22-Apr-06 1:17
shadrach_india22-Apr-06 1:17 
QuestionWhat Exactly in Windows does Call Back Functions Mean? Pin
CodeVarma21-Apr-06 20:20
CodeVarma21-Apr-06 20:20 
AnswerRe: What Exactly in Windows does Call Back Functions Mean? Pin
_AnsHUMAN_ 21-Apr-06 21:49
_AnsHUMAN_ 21-Apr-06 21:49 
GeneralRe: What Exactly in Windows does Call Back Functions Mean? Pin
Saurabh.Garg21-Apr-06 21:58
Saurabh.Garg21-Apr-06 21:58 
GeneralRe: What Exactly in Windows does Call Back Functions Mean? Pin
chasetoys21-Apr-06 22:15
chasetoys21-Apr-06 22:15 
AnswerRe: What Exactly in Windows does Call Back Functions Mean? Pin
Saurabh.Garg21-Apr-06 21:54
Saurabh.Garg21-Apr-06 21:54 
AnswerRe: What Exactly in Windows does Call Back Functions Mean? Pin
Parthiban21-Apr-06 22:45
Parthiban21-Apr-06 22:45 
AnswerRe: What Exactly in Windows does Call Back Functions Mean? Pin
Stephen Hewitt22-Apr-06 0:49
Stephen Hewitt22-Apr-06 0:49 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.