ahmed osama
Full Member level 6
- Joined
- Jul 18, 2004
- Messages
- 352
- Helped
- 2
- Reputation
- 4
- Reaction score
- 0
- Trophy points
- 1,296
- Location
- Cairo, Egypt, Egypt
- Activity points
- 2,652
hi all
VC++ halt each time i run the following function .....
the function ends without any error but VC++ halt after it finish ..
test ()
{
char* temp=new char [4] ;
temp="123";
__asm
{
pushad;
pushfd;
mov edx,temp;
popfd;
popad;
}
delete [] temp;
}
Any one know whyyyy !!!
VC++ halt each time i run the following function .....
the function ends without any error but VC++ halt after it finish ..
test ()
{
char* temp=new char [4] ;
temp="123";
__asm
{
pushad;
pushfd;
mov edx,temp;
popfd;
popad;
}
delete [] temp;
}
Any one know whyyyy !!!