Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include <stdio.h>
- #include <Windows.h>
- int main(){
- int (*pmsbx)(HWND, char*, char*, UINT) = &MessageBox;
- MessageBox(NULL, "Hi!","msbx", MB_OK);
- (*pmsbx)(NULL, "Hi again!", "pointer to msbx", MB_OK);
- return 0;
- }
Add Comment
Please, Sign In to add comment