Home > other >  Several everyday, who can teach me! How to get
Several everyday, who can teach me! How to get

Time:09-25

386
.The model flat, stdcall
Stack 4096
Exitprocess proto, dwexitcode: dword

The code
The main proc
Mov eax, 5
The add eax, 6
Invoke exitprocess, 0
The main endp
In the end the main
On this piece of code written in vs2019,
Display an error code lnk2019: cannot resolve the external symbol of _exitprocess @ 4, the symbol referenced in the function _main @ 0

CodePudding user response:

This function is kernel32. DLL system dynamic database, take kernel32. Lib added, vs used, specific operation did not understand,

CodePudding user response:

Is in the project properties - linker is input - additional dependencies to add! I add or not

CodePudding user response:

reference 1/f, zara's reply:
this function is kernel32. DLL system dynamic database, take kernel32. Lib added, vs used, specific operation did not understand,

Is in the project properties - linker is input - additional dependencies to add! I add or not

CodePudding user response:

reference 1/f, zara's reply:
this function is kernel32. DLL system dynamic database, take kernel32. Lib added, vs used, specific operation did not understand,

I am a novice, learn assembly is interests, think slowly from below to go to school, bosses have any good Suggestions? Because met a little problem don't understand, novice baidu many useless, can you help me analyse?

CodePudding user response:

Pure assembly, with vs may not appropriate, assembly link to download the masm32 do use, source program editor do you like to see, vs editor can also, other such as UEdit32 even Windows notepad,
The new vs have higher version and 64 assembler, this seems to be also good, just can't see who come up with alone, a pity, is away from the vs cannot use?

CodePudding user response:

reference 5 floor zara's reply:
some pity, is away from the vs cannot use?


There should be no??????? Zara to try...

CodePudding user response:

Possible, pay attention to the symbolic name, ExitProcess

CodePudding user response:

Why is case sensitive
  • Related