![]() After it checks the data you entered, Notepad either keeps the file from being opened and closes itself too (because you pressed 'No'), or passes info about the file you want opened to WordPad (beaus you pressed 'Yes'). Instead of running some code inside its own program though, Notepad uses another Windows program called, USER32.DLL, to pop-up the window known as 'MessageBoxA' and then USER32 passes some info back to Notepad telling it which one of the two buttons you pressed. ![]() ![]() In Assembly language, this 32-bit instruction code would be:Ĭall DWORD ptr (where the six x's stand for an actual memory location that depends upon which version of Windows you are running more about this later.) Buried deep inside the code of Notepad (a 32-bit Windows program) is an instruction which causes the ' Error ' window to pop-up on your screen.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |