address of main

Started by
2 comments, last by EvilCrap 22 years, 5 months ago
how can i get the address of main? how can i get the address of the initial boot place, and call it? is there a way to get the address of windows?
Advertisement
quote:EvilCrap
how can i get the address of main?


void *addr = &main

Your other questions don''t make any sense. What are you trying to do? If you want to reboot the computer, use InitiateSystemShutdownEx().

codeka.com - Just click it.
thanks, i kept trying to cast it to a function pointer.
If you set the project to generate a map file, it will tell you tne entry point as well.

This topic is closed to new replies.

Advertisement