再次感谢你的相助,按照你的提示,我把那段该死的程序pass,能否再详细赐教一下其中的原因(注:这段代码是我下的,我的水平还很菜),万分感谢,再送你100分

解决方案 »

  1.   

    http://expert.csdn.net/Expert/topic/2638/2638230.xml?temp=.2431757
      

  2.   

    http://expert.csdn.net/Expert/topic/2638/2638230.xml?temp=.698559是这个没错吧 :)
      

  3.   

    给你看看函数的原型吧,LPARAM是从long typedef过来的BOOL CALLBACK EnumWindowsProc(
      HWND hwnd,      // handle to parent window
      LPARAM lParam   // application-defined value
    );互相学习
      

  4.   

    好象是    
    LONG   A 32-bit signed integer. 
    DWORD   A 32-bit unsigned integer or the address of a segment and its associated offset我这个问题好象是由类型转换引起的吧