sinbeard's Trove of Disassembly and Tinkering

Knowing is not enough; we must apply. Willing is not enough; we must do.

30 January 2021

windows system programming week 3 and 4

by canderson

More Notes!


Sharing Objects

Object Names and Sessions

You can cause a handle to be available to all sessions by prepending Global\ to the object name.

…i’ll need to take some better notes.


Process Creation

Default DLL Search Paths

It’s the same logic that’s used by the LoadLibrary API * Known DLLs * Global object * Directory of the executable * The System directory * GetSystemDirectory * Windows directory * GetWindowsDirectory * Current directory of the process * Directories specified by the PATH env variable

Process Termination