Exetools  

Go Back   Exetools > General > General Discussion

Notices

Reply
 
Thread Tools Display Modes
  #1  
Old 01-08-2006, 23:34
Inv
 
Posts: n/a
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.
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


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


All times are GMT +8. The time now is 14:22.


Always Your Best Friend: Aaron, JMI, ahmadmansoor, ZeNiX, chessgod101
( Since 1998 )