Click here to Skip to main content
16,006,845 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
QuestionHow can i convert "Convert CString[] to char[]" ? Pin
Le@rner4-Oct-08 2:10
Le@rner4-Oct-08 2:10 
AnswerRe: How can i convert "Convert CString[] to char[]" ? Pin
Jaime Olivares4-Oct-08 2:40
Jaime Olivares4-Oct-08 2:40 
AnswerRe: How can i convert "Convert CString[] to char[]" ? Pin
CPallini4-Oct-08 2:42
mveCPallini4-Oct-08 2:42 
AnswerRe: How can i convert "Convert CString[] to char[]" ? Pin
David Crow4-Oct-08 3:27
David Crow4-Oct-08 3:27 
QuestionHow to display the program code as output using C or C++ Pin
Karan_TN4-Oct-08 1:02
Karan_TN4-Oct-08 1:02 
AnswerRe: How to display the program code as output using C or C++ Pin
enhzflep4-Oct-08 1:10
enhzflep4-Oct-08 1:10 
GeneralRe: How to display the program code as output using C or C++ Pin
Karan_TN4-Oct-08 1:16
Karan_TN4-Oct-08 1:16 
GeneralRe: How to display the program code as output using C or C++ Pin
enhzflep4-Oct-08 1:39
enhzflep4-Oct-08 1:39 
Ahhhh....

I was afraid you were going to say that or words to that effect.

What you're looking for is a decompiler or a dissasembler. The difference is in the 'high-level'ness of their output. A dissasembler will turn a piece of executable code into an assembly listing. A decompiler on the other hand, will produce C (or most any other high level language within reason) code from an executable.

While it is true that a fairly large number of people have written dissasemblers, the same
can't be said for decompilers. It is a notoriously difficult & complex subject.

HexRays has a product that will turn an exe file into C source code - it is the $2000 plugin for IDA Pro interactive dissasembler.

You can find more info on HexRays here (they have a free version of IDAPro)
http://www.hex-rays.com/products.shtml[^]

Also, here are some links to decompilers/dissasemblers that people have coded themselves:
http://www.woodmann.com/collaborative/tools/index.php/Category:Decompilers[^]
http://www.woodmann.com/collaborative/tools/index.php/Category:Disassemblers[^]

'luck.
GeneralRe: How to display the program code as output using C or C++ Pin
Karan_TN4-Oct-08 2:04
Karan_TN4-Oct-08 2:04 
GeneralRe: How to display the program code as output using C or C++ Pin
enhzflep4-Oct-08 2:39
enhzflep4-Oct-08 2:39 
GeneralRe: How to display the program code as output using C or C++ Pin
Karan_TN6-Oct-08 0:53
Karan_TN6-Oct-08 0:53 
AnswerRe: How to display the program code as output using C or C++ Pin
PravinSingh6-Oct-08 22:20
PravinSingh6-Oct-08 22:20 
QuestionVisual Studio Express Edition 2008 for Commercial Application Pin
Karmendra Suthar3-Oct-08 22:15
Karmendra Suthar3-Oct-08 22:15 
AnswerRe: Visual Studio Express Edition 2008 for Commercial Application Pin
CPallini4-Oct-08 0:47
mveCPallini4-Oct-08 0:47 
QuestionGradientFill in Moving Dialog.. Pin
gothic_coder3-Oct-08 21:27
gothic_coder3-Oct-08 21:27 
AnswerRe: GradientFill in Moving Dialog.. Pin
enhzflep3-Oct-08 21:58
enhzflep3-Oct-08 21:58 
GeneralRe: GradientFill in Moving Dialog.. Pin
gothic_coder3-Oct-08 22:53
gothic_coder3-Oct-08 22:53 
GeneralRe: GradientFill in Moving Dialog.. Pin
gothic_coder3-Oct-08 23:30
gothic_coder3-Oct-08 23:30 
GeneralRe: GradientFill in Moving Dialog.. Pin
enhzflep4-Oct-08 1:05
enhzflep4-Oct-08 1:05 
GeneralRe: GradientFill in Moving Dialog.. Pin
gothic_coder4-Oct-08 1:21
gothic_coder4-Oct-08 1:21 
GeneralRe: GradientFill in Moving Dialog.. Pin
enhzflep4-Oct-08 1:57
enhzflep4-Oct-08 1:57 
GeneralRe: GradientFill in Moving Dialog.. Pin
gothic_coder4-Oct-08 2:50
gothic_coder4-Oct-08 2:50 
GeneralRe: GradientFill in Moving Dialog.. Pin
gothic_coder4-Oct-08 3:01
gothic_coder4-Oct-08 3:01 
GeneralRe: GradientFill in Moving Dialog.. Pin
enhzflep4-Oct-08 3:48
enhzflep4-Oct-08 3:48 
GeneralRe: GradientFill in Moving Dialog.. Pin
gothic_coder4-Oct-08 4:39
gothic_coder4-Oct-08 4:39 

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.