(C#) I would like to load a C file using windows form then convert it into assembly language and shows it on a rich text box. Is it possible to do on C#? Thanks in advance!
Asked
Active
Viewed 162 times
1 Answers
2
In the c# application you can achieve this by following steps
- Load the .c file
- Compile it with
cl.exe
. - Use the
dumpbin.exe
utility to disasmble the output exe file - Show the result in Rich Text box
You'll need System.Diagnostics.Process
class to urn those utilities. See example on Best Way to call external program in c# and parse output

Community
- 1
- 1

Shiplu Mokaddim
- 56,364
- 17
- 141
- 187