• 大小: 4.2MB
    文件类型: .rar
    金币: 1
    下载: 0 次
    发布日期: 2023-09-18
  • 语言: C/C++
  • 标签: vc++,opc  

资源简介

所用的OPC是pc access,年代久远已经无法维护还请各位参考

资源截图

代码片段和文件信息

// **************************************************************************
// opccomn.cpp
//
// Description:
// Implements OPC common data.  
//
// File supplied by OPC Foundataion.
//
// DISCLAIMER:
// This programming example is provided “AS IS“.  As such Kepware Inc.
// makes no claims to the worthiness of the code and does not warranty
// the code to be error free.  It is provided freely and can be used in
// your own projects.  If you do find this code useful place a little
// marketing plug for Kepware in your code.  While we would love to help
// every one who is trying to write a great OPC client application the 
// uniqueness of every project and the limited number of hours in a day 
// simply prevents us from doing so.  If you really find yourself in a
// bind please contact Kepware‘s technical support.  We will not be able
// to assist you with server related problems unless you are using KepServer
// or KepServerEx.
// **************************************************************************


/* this file contains the actual definitions of */

/* the IIDs and CLSIDs */



/* link this file in with the server and any clients */





/* File created by MIDL compiler version 3.01.75 */

/* at Thu Oct 01 14:19:30 1998

 */

/* Compiler settings for opccomn.idl:

    Oicf (OptLev=i2) W1 Zp8 env=Win32 ms_ext c_ext

    error checks: none

*/

//@@MIDL_FILE_HEADING(  )

#ifdef __cplusplus

extern “C“{

#endif 





#ifndef __IID_DEFINED__

#define __IID_DEFINED__



typedef struct _IID

{

    unsigned long x;

    unsigned short s1;

    unsigned short s2;

    unsigned char  c[8];

} IID;



#endif // __IID_DEFINED__



#ifndef CLSID_DEFINED

#define CLSID_DEFINED

typedef IID CLSID;

#endif // CLSID_DEFINED



const IID IID_IOPCShutdown = {0xF31DFDE10x07B60x11d2{0xB20xD80x000x600x080x3B0xA10xFB}};





const IID IID_IOPCCommon = {0xF31DFDE20x07B60x11d2{0xB20xD80x000x600x080x3B0xA10xFB}};





const IID IID_IOPCServerList = {0x13486D500x48210x11D2{0xA40x940x3C0xB30x060xC10x000x00}};





const IID LIBID_OPCCOMN = {0xB28EEDB10xAC6F0x11d1{0x840xD50x000x600x8C0xB80xA70xE9}};





#ifdef __cplusplus

}

#endif




 属性            大小     日期    时间   名称
----------- ---------  ---------- -----  ----

     文件       1974  2014-10-29 10:37  OPCDEMO\Debug\opccomn_i.obj

     文件          0  2014-10-29 10:37  OPCDEMO\Debug\opccomn_i.sbr

     文件      11908  2014-10-29 10:37  OPCDEMO\Debug\opcda_i.obj

     文件          0  2014-10-29 10:37  OPCDEMO\Debug\opcda_i.sbr

     文件    5833728  2014-10-29 14:02  OPCDEMO\Debug\OPCDEMO.bsc

     文件     110654  2014-10-29 14:02  OPCDEMO\Debug\OPCDEMO.exe

     文件     250708  2014-10-29 14:02  OPCDEMO\Debug\OPCDEMO.ilk

     文件      25680  2014-10-29 11:42  OPCDEMO\Debug\OPCDEMO.obj

     文件    6898436  2014-10-29 10:37  OPCDEMO\Debug\OPCDEMO.pch

     文件     427008  2014-10-29 14:02  OPCDEMO\Debug\OPCDEMO.pdb

     文件       2592  2014-10-29 11:42  OPCDEMO\Debug\OPCDEMO.res

     文件          0  2014-10-29 11:42  OPCDEMO\Debug\OPCDEMO.sbr

     文件      59806  2014-10-30 09:47  OPCDEMO\Debug\OPCDEMODlg.obj

     文件    1438178  2014-10-30 09:47  OPCDEMO\Debug\OPCDEMODlg.sbr

     文件     106476  2014-10-29 10:37  OPCDEMO\Debug\StdAfx.obj

     文件    1383585  2014-10-29 10:37  OPCDEMO\Debug\StdAfx.sbr

     文件     222208  2014-10-30 09:47  OPCDEMO\Debug\vc60.idb

     文件     380928  2014-10-30 09:47  OPCDEMO\Debug\vc60.pdb

     文件      24718  2008-07-09 16:49  OPCDEMO\opccomn.h

     文件       2337  2014-09-04 10:40  OPCDEMO\opccomn_i.c

     文件     145924  2008-07-09 16:49  OPCDEMO\opcda.h

     文件       4348  2008-07-09 16:49  OPCDEMO\opcda_i.c

     文件      35624  2014-10-29 11:42  OPCDEMO\OPCDEMO.APS

     文件       1182  2014-10-30 09:50  OPCDEMO\OPCDEMO.clw

     文件       2077  2014-09-03 17:23  OPCDEMO\OPCDEMO.cpp

     文件       4503  2014-09-04 20:34  OPCDEMO\OPCDEMO.dsp

     文件        537  2014-09-04 10:25  OPCDEMO\OPCDEMO.dsw

     文件       1335  2014-09-03 17:23  OPCDEMO\OPCDEMO.h

     文件     107520  2014-10-30 09:51  OPCDEMO\OPCDEMO.ncb

     文件      49664  2014-10-30 09:51  OPCDEMO\OPCDEMO.opt

............此处省略17个文件信息

评论

共有 条评论

相关资源