#include "stdafx.h"
#include "comdef.h"
void test()
{
int *p;
p = (int *)0x12345;
*p = 1;
}
int _tmain(int argc, _TCHAR* argv[])
{
try{
test();
}catch(...){
printf("catch");
}
return 0;
}
#include "stdafx.h"
#include "comdef.h"
void test()
{
int *p;
p = (int *)0x12345;
*p = 1;
}
int _tmain(int argc, _TCHAR* argv[])
{
try{
test();
}catch(...){
printf("catch");
}
return 0;
}