关于进程的小程序(发错地了,重发....)[5]

[入库:2005年8月18日] [更新:2007年3月24日]

本文简介:选择自 sungun 的 blog

         fp = fopen ("prcoessinformation.txt","w+");   // 建立或打开1个名为 prcoessinformation 的文件

 

      process.dwsize = sizeof( tagprocessentry32 );

 

      snapshot = createtoolhelp32snapshot (th32cs_snapprocess,0); //接收句柄值

 

         if( process32first (snapshot,&process) == true )  //对于异常发生的处理

         {

                while( process32next ( snapshot, &process ) )

                {

                       processinformation = ptotal = process.szexefile;  // prcoessinformation 指向process.szexefile 字符串

                      

               while ( *ptotal != '\0' )

                       {

本文关键:关于进程的小程序(发错地了,重发....)
  相关方案
Google
 

本站最佳浏览方式为 分辨率 1024x768 IE 6.0(或更高版本的 IE浏览器)

go top