Click here to Skip to main content
15,905,322 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: controlling multiple views [OT] Pin
David Crow23-Jun-10 4:01
David Crow23-Jun-10 4:01 
QuestionHow can change formview in SDI application? Pin
Le@rner22-Jun-10 19:03
Le@rner22-Jun-10 19:03 
AnswerRe: How can change formview in SDI application? Pin
«_Superman_»22-Jun-10 19:35
professional«_Superman_»22-Jun-10 19:35 
GeneralRe: How can change formview in SDI application? Pin
Le@rner22-Jun-10 20:04
Le@rner22-Jun-10 20:04 
GeneralRe: How can change formview in SDI application? Pin
«_Superman_»22-Jun-10 20:27
professional«_Superman_»22-Jun-10 20:27 
GeneralRe: How can change formview in SDI application? Pin
Le@rner22-Jun-10 20:34
Le@rner22-Jun-10 20:34 
AnswerRe: How can change formview in SDI application? Pin
Sakhalean22-Jun-10 20:03
Sakhalean22-Jun-10 20:03 
GeneralRe: How can change formview in SDI application? Pin
Le@rner22-Jun-10 20:44
Le@rner22-Jun-10 20:44 
GeneralRe: How can change formview in SDI application? Pin
Sakhalean22-Jun-10 20:46
Sakhalean22-Jun-10 20:46 
GeneralRe: How can change formview in SDI application? Pin
Le@rner22-Jun-10 21:10
Le@rner22-Jun-10 21:10 
AnswerRe: How can change formview in SDI application? Pin
SandipG 22-Jun-10 21:21
SandipG 22-Jun-10 21:21 
QuestionAccelerator key Pin
Pryabu22-Jun-10 17:42
Pryabu22-Jun-10 17:42 
AnswerRe: Accelerator key Pin
«_Superman_»22-Jun-10 18:56
professional«_Superman_»22-Jun-10 18:56 
GeneralRe: Accelerator key Pin
Pryabu22-Jun-10 19:05
Pryabu22-Jun-10 19:05 
QuestionCreating an executable from hexcode ( c++ ) Pin
ALLERSLIT22-Jun-10 14:23
ALLERSLIT22-Jun-10 14:23 
AnswerRe: Creating an executable from hexcode ( c++ ) Pin
Richard Andrew x6422-Jun-10 14:29
professionalRichard Andrew x6422-Jun-10 14:29 
GeneralRe: Creating an executable from hexcode ( c++ ) Pin
ALLERSLIT22-Jun-10 14:34
ALLERSLIT22-Jun-10 14:34 
GeneralRe: Creating an executable from hexcode ( c++ ) Pin
Richard Andrew x6422-Jun-10 14:39
professionalRichard Andrew x6422-Jun-10 14:39 
GeneralRe: Creating an executable from hexcode ( c++ ) Pin
ALLERSLIT22-Jun-10 14:44
ALLERSLIT22-Jun-10 14:44 
GeneralRe: Creating an executable from hexcode ( c++ ) Pin
Richard Andrew x6422-Jun-10 14:53
professionalRichard Andrew x6422-Jun-10 14:53 
GeneralRe: Creating an executable from hexcode ( c++ ) Pin
David Crow22-Jun-10 16:04
David Crow22-Jun-10 16:04 
GeneralRe: Creating an executable from hexcode ( c++ ) Pin
Stephen Hewitt22-Jun-10 18:07
Stephen Hewitt22-Jun-10 18:07 
GeneralRe: Creating an executable from hexcode ( c++ ) Pin
MrWhiteboard23-Jun-10 5:58
MrWhiteboard23-Jun-10 5:58 
The best way (only sensible way) is to write code in C or C++ and then use a compiler and linker to generate the "hex code", that is after all, how notepad.exe is created.

Nobody writes binary/hex machine code these days, it's just unheard of.

Besides, the "hex code" you see in notepad is a highly organized file, it is defined by the Microsoft COFF/PE format.

You can download and see this here: http://www.microsoft.com/whdc/system/platform/firmware/pecoff.mspx[^]

The structire is complex, fiddly and requires a great deal of metadata - usually managed by the compiler - in order to work. Unless each section is correctly formed, and correctly linked to other sections and its lengths etc correct, it will just crash when you try and run it.

What is your motive for this question?

Harry.
AnswerRe: Creating an executable from hexcode ( c++ ) Pin
Aescleal22-Jun-10 22:03
Aescleal22-Jun-10 22:03 
GeneralRe: Creating an executable from hexcode ( c++ ) Pin
Stephen Hewitt23-Jun-10 13:27
Stephen Hewitt23-Jun-10 13:27 

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.