当前位置:首页
开发技术指南» 文章正文
    引言:

    摘要: 测试通过,速度奇快 http://zckm.com/home/mycool/aspnet_page.txt ......
 ·快照不能刷新问题。    »显示摘要«
    摘要: 由于要随时查询数据,所以就在一台机器上排定了一个job,专门用来刷新snapshot的,每隔20分钟刷新一次。这个job一共要刷新4个snapshot,其中有一个数据量比较大,大概200多万条记录,原先几天刷新都没有问题,但是过了一段时间之后就不能刷新了,手动刷新也不行。现在只要一出现这个问题就要重新再建snapshot,哪位高手能解决这个问题?不胜感激! 附:job的语句如下 fadwa......


再看一个错误啊

d:\netbios1\netbios\Win32NetBIOS.c(45)   :   error   C2061:   syntax   error   :   identifier   _shutdownEvent  
  d:\netbios1\netbios\Win32NetBIOS.c(45)   :   error   C2059:   syntax   error   :   ;  
  d:\netbios1\netbios\Win32NetBIOS.c(45)   :   error   C2513:   /*global*/     :   no   variable   declared   before   =  
  d:\netbios1\netbios\Win32NetBIOS.c(948)   :   warning   C4996:   wcscat   was   declared   deprecated  
  d:\netbios1\netbios\Win32NetBIOS.c(949)   :   warning   C4996:   wcscat   was   declared   deprecated  
  d:\netbios1\netbios\Win32NetBIOS.c(983)   :   error   C2065:   _shutdownEvent   :   undeclared   identifier  
  d:\netbios1\netbios\Win32NetBIOS.c(984)   :   warning   C4013:   WSACloseEvent   undefined;   assuming   extern   returning   int  
  d:\netbios1\netbios\Win32NetBIOS.c(985)   :   warning   C4013:   WSACreateEvent   undefined;   assuming   extern   returning   int  
  d:\netbios1\netbios\Win32NetBIOS.c(1001)   :   warning   C4022:   SetEvent   :   pointer   mismatch   for   actual   parameter   1  
  d:\netbios1\netbios\Win32NetBIOS.c(1227)   :   error   C2065:   WSAEVENT   :   undeclared   identifier  
  d:\netbios1\netbios\Win32NetBIOS.c(1227)   :   error   C2146:   syntax   error   :   missing   ;   before   identifier   events  
  d:\netbios1\netbios\Win32NetBIOS.c(1227)   :   error   C2065:   events   :   undeclared   identifier  
  d:\netbios1\netbios\Win32NetBIOS.c(1227)   :   error   C2109:   subscript   requires   array   or   pointer   type  
  d:\netbios1\netbios\Win32NetBIOS.c(1228)   :   error   C2275:   HANDLE   :   illegal   use   of   this   type   as   an   expression  
                  C:\Program   Files\Microsoft   Visual   Studio   8\VC\PlatformSDK\include\winnt.h(334)   :   see   declaration   of   HANDLE  
  d:\netbios1\netbios\Win32NetBIOS.c(1228)   :   error   C2146:   syntax   error   :   missing   ;   before   identifier   handle  
  d:\netbios1\netbios\Win32NetBIOS.c(1228)   :   error   C2065:   handle   :   undeclared   identifier  
  d:\netbios1\netbios\Win32NetBIOS.c(1236)   :   error   C2109:   subscript   requires   array   or   pointer   type  
  d:\netbios1\netbios\Win32NetBIOS.c(1237)   :   error   C2109:   subscript   requires   array   or   pointer   type  
  d:\netbios1\netbios\Win32NetBIOS.c(1239)   :   error   C2109:   subscript   requires   array   or   pointer   type  
  d:\netbios1\netbios\Win32NetBIOS.c(1241)   :   warning   C4047:   function   :   PHANDLE   differs   in   levels   of   indirection   from   int   *__w64    
  d:\netbios1\netbios\Win32NetBIOS.c(1241)   :   warning   C4022:   NotifyAddrChange   :   pointer   mismatch   for   actual   parameter   1  
  d:\netbios1\netbios\Win32NetBIOS.c(1247)   :   error   C2109:   subscript   requires   array   or   pointer   type  
  d:\netbios1\netbios\Win32NetBIOS.c(1247)   :   error   C2198:   WaitForMultipleObjects   :   too   few   arguments   for   call  
  d:\netbios1\netbios\Win32NetBIOS.c(1253)   :   error   C2109:   subscript   requires   array   or   pointer   type  
   
   
  主要是以下引起的  
  WSAEVENT   _shutdownEvent   =   0;

NO.1   作者: happyparrot

#include   <winsock2.h>

NO.2   作者: vcleaner

需要添加头文件和lib库  
  Header:   Declared   in   winsock2.h.  
  Import   Library:   Link   with   ws2_32.lib.

NO.3   作者: DentistryDoctor

同意楼上。

NO.4   作者: dirdirdir3

WSAEVENT   shutdownEvent;  
 


    摘要: vb如何开发类似richtextbox的控件? 偶这个问题如果解答不了的话,偶放弃vb! 另一个问题: http://community.csdn.net/expert/topic/4253/4253799.xml?temp=.1252252 ......
» 本期热门文章:

©2000-2007 All Rights Reserved. 最佳浏览:1024X768 MSIE