我 作了一个简单sdi应用,点菜单执行一段代码(写在。。view下),主要是调用winpcap的packet32.h函数执行一个捕获,结果问题出来了。以前写的调用不出问题。可是我依葫芦话瓢就出问题了!总是说什么 
   “0x77df89de“指令引用的“0x0013e000"内存。该内存不能为“written "
  不知道该怎么办了!!
有用过winpcap的大虾知道这是怎么回事么??还是我自己刚学某些地方没注意??
各位帮我分析一下。
    我把正常和不正常对比结果如下: insert->设置 各项相同
                                    tool->option 各项相同
    我能看到的唯一不同是正常的程序rebuild显示的文件为
:Deleting intermediate files and output files for project 'hello1 - Win32 Release'.
--------------------Configuration: hello1 - Win32 Release--------------------
Compiling resources...
Compiling...
StdAfx.cpp
Compiling...
DLG.cpp
hello1.cpp
hello1Doc.cpp
hello1View.cpp
MainFrm.cpp
Generating Code...
Linking...
Creating browse info file...hello1.exe - 0 error(s), 0 warning(s)不正常的为:
Deleting intermediate files and output files for project 'no2 - Win32 Release'.
--------------------Configuration: no2 - Win32 Release--------------------
Compiling resources...
Compiling...
StdAfx.cpp
Compiling...
MainFrm.cpp
no2.cpp
no2Doc.cpp
no2View.cpp
Generating Code...
Linking...no2.exe - 0 error(s), 0 warning(s)
 debug ,realse模式我都换过了。好像唯一的不同是mianfrm 先编译还是后编译的区别,各位大虾救我!!!!!!!!!!!!!!!我晕!