![]() |
|
#2
|
|||
|
|||
|
n00b Quest II(tm)
I am wrote next code in VC6:
#include <iostream> using namespace std; int total=0; void metodOne(){ //__asm int 3; cout<<"first "<<endl; } void metodtwo() { cout<<"second "<<endl; for(int i=0;i<10000;i++){total+=1;} } int main(int argc, char* argv[]) { cout<<"addres: "<<metodOne<<endl; cout<<"addres: "<<metodtwo<<endl; metodOne(); metodtwo(); return 0; } OUtput: ------------------- addres: 00401080 addres: 004010F0 first second ------------------- Where 00401080 and 004010F0 really entry of metodOne() and metodtwo(). Try set __asm int 3; (and disable in Olly INT 3 breaks )to get 'real' entry point of your code/main or other. And all breakpoint worked perfeckt. |
| Thread Tools | |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Likely N00b question - Bassmod.dll | Stingered | General Discussion | 6 | 01-16-2018 02:23 |
| N00b : help ? | abitofboth | General Discussion | 11 | 05-05-2005 15:12 |