Click here to Skip to main content
15,884,714 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Decimal point in floating point number in CSV under European locale Pin
Shao Voon Wong26-Sep-22 19:39
mvaShao Voon Wong26-Sep-22 19:39 
GeneralRe: Decimal point in floating point number in CSV under European locale Pin
Peter_in_278026-Sep-22 20:36
professionalPeter_in_278026-Sep-22 20:36 
Question.hex file converter Pin
Muhammad Adnan 202224-Sep-22 21:18
Muhammad Adnan 202224-Sep-22 21:18 
AnswerRe: .hex file converter Pin
Victor Nijegorodov24-Sep-22 21:34
Victor Nijegorodov24-Sep-22 21:34 
AnswerRe: .hex file converter Pin
Richard MacCutchan25-Sep-22 3:43
mveRichard MacCutchan25-Sep-22 3:43 
GeneralRe: .hex file converter Pin
Muhammad Adnan 202225-Sep-22 7:14
Muhammad Adnan 202225-Sep-22 7:14 
GeneralRe: .hex file converter Pin
Richard MacCutchan25-Sep-22 7:19
mveRichard MacCutchan25-Sep-22 7:19 
GeneralRe: .hex file converter Pin
Dave Kreskowiak25-Sep-22 10:20
mveDave Kreskowiak25-Sep-22 10:20 
This is an example of what you're in for.

Get any HEX editor, like HxD[^], and install it. Now go grab the Notepad.exe file from C:\Windows and open it in the hex editor.

Now you're looking at a whole of bunch of bytes that make up the content of the file, and you need documentation to tell you what every one of those bytes means. You're going to start here[^] to figure that out.

Oh, and when you get to actual executable code, you're going to have to understand the Intel instruction set, all the addressing modes, and the operands each instruction requires. All of that is in the bytes that make up the executable code. Notice, you're not going to get back C/C++ code. You're getting back assembly code.

Once you're brain melts from trying to understand all that, now you have to do that same thing for the .hex file you're looking at for your PLC's. Oh, and you'll need all the relevant documentation similar to this example of disassembling Notepad.

Do you get it now?

QuestionRe: .hex file converter Pin
CPallini26-Sep-22 2:26
mveCPallini26-Sep-22 2:26 
QuestionMessage Closed Pin
16-Sep-22 14:17
Member 1496877116-Sep-22 14:17 
AnswerRe: basic C++ question... Pin
k505417-Sep-22 4:56
mvek505417-Sep-22 4:56 
GeneralMessage Closed Pin
17-Sep-22 8:17
Member 1496877117-Sep-22 8:17 
AnswerRe: basic C++ question... Pin
David Crow17-Sep-22 15:44
David Crow17-Sep-22 15:44 
GeneralRe: basic C++ question... Pin
Richard MacCutchan17-Sep-22 21:16
mveRichard MacCutchan17-Sep-22 21:16 
QuestionMessage Closed Pin
16-Sep-22 7:38
Member 1496877116-Sep-22 7:38 
AnswerRe: Help with xterm Pin
Richard MacCutchan16-Sep-22 22:26
mveRichard MacCutchan16-Sep-22 22:26 
AnswerRe: Help with xterm Pin
k505417-Sep-22 5:09
mvek505417-Sep-22 5:09 
Questionhow to use a struct pointer to get a struct pointer array's member Pin
samzcs11-Sep-22 12:03
samzcs11-Sep-22 12:03 
AnswerRe: how to use a struct pointer to get a struct pointer array's member Pin
Greg Utas11-Sep-22 12:24
professionalGreg Utas11-Sep-22 12:24 
GeneralRe: how to use a struct pointer to get a struct pointer array's member Pin
samzcs11-Sep-22 13:29
samzcs11-Sep-22 13:29 
GeneralRe: how to use a struct pointer to get a struct pointer array's member Pin
samzcs11-Sep-22 13:34
samzcs11-Sep-22 13:34 
GeneralRe: how to use a struct pointer to get a struct pointer array's member Pin
Greg Utas11-Sep-22 13:46
professionalGreg Utas11-Sep-22 13:46 
AnswerRe: how to use a struct pointer to get a struct pointer array's member Pin
Mircea Neacsu11-Sep-22 15:09
Mircea Neacsu11-Sep-22 15:09 
AnswerRe: how to use a struct pointer to get a struct pointer array's member Pin
Richard MacCutchan12-Sep-22 0:00
mveRichard MacCutchan12-Sep-22 0:00 
AnswerRe: how to use a struct pointer to get a struct pointer array's member Pin
magnomagna23-Sep-22 4:06
magnomagna23-Sep-22 4:06 

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.