Skip to content

Instantly share code, notes, and snippets.


livz/DllStatic.c Secret

Created Jul 21, 2017
What would you like to do?
Static linking
* Compile with cl:
* cl /EHsc /nologo DllStatic.c user32.lib
#include <Windows.h>
int main(int argc, char **argv)
MessageBox(NULL, "A process is loading the DLL", "Title", MB_OK);
return 0;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment