How to decode object files

Status
Not open for further replies.

rednewguy

Full Member level 2
Joined
Jun 3, 2005
Messages
123
Helped
2
Reputation
4
Reaction score
0
Trophy points
1,296
Activity points
2,413
how to decode .obj files

i am using Dev-c++ editor and it uses gcc compiler. I gave an instruction system("PAUSE"); This is obviously a linux command, but i am giving it in windows. What windows API will this instruction call into. How to find them and how to decode the object files.
 

The C "system" function asks the host operating system to execute the specified command, so system("PAUSE") should do whatever your operating system normally does when you run the "PAUSE" command. In Windows, it probably calls the "system" function in msvcrt.dll.

I'm not sure what you mean by "decode the object files". If you want to see the assembler source code for your compiled C function, run gcc with the -S option.
 

    rednewguy

    Points: 2
    Helpful Answer Positive Rating
echo47 said:
I'm not sure what you mean by "decode the object files".

What i meant to ask is "Is it possible to say what api's are called by my program by seeing the .obj file?"

thanks
 

Status
Not open for further replies.
Cookies are required to use this site. You must accept them to continue using the site. Learn more…