海康流媒体SDK开发
海康流媒体SDK开发实例,支持VS2010,这个版本使用了负载均衡ACE模块开发.
代码片段和文件信息
属性 大小 日期 时间 名称
----------- --------- ---------- ----- ----
文件 88832 2014-10-21 13:59 StreamMediaServerSourceCodeForVS2010BCMenu.cpp
文件 16478 2002-03-31 11:20 StreamMediaServerSourceCodeForVS2010BCMenu.h
文件 69986 2006-05-26 09:23 StreamMediaServerSourceCodeForVS2010BtnST.cpp
文件 10401 2003-03-03 21:47 StreamMediaServerSourceCodeForVS2010BtnST.h
文件 28672 2006-06-02 16:51 StreamMediaServerSourceCodeForVS2010DebugAbsDvr.dll
文件 1236992 2006-08-30 11:43 StreamMediaServerSourceCodeForVS2010DebugACE.dll
文件 1687552 2006-05-10 17:16 StreamMediaServerSourceCodeForVS2010DebugACEd.dll
文件 406803 2014-10-21 14:46 StreamMediaServerSourceCodeForVS2010DebugBCMenu.obj
文件 128475 2014-10-21 14:46 StreamMediaServerSourceCodeForVS2010DebugBtnST.obj
文件 8498 2014-10-21 14:46 StreamMediaServerSourceCodeForVS2010Debugcl.command.1.tlog
文件 42550 2014-10-21 14:46 StreamMediaServerSourceCodeForVS2010DebugCL.read.1.tlog
文件 6270 2014-10-21 14:46 StreamMediaServerSourceCodeForVS2010DebugCL.write.1.tlog
文件 110592 2007-06-01 17:31 StreamMediaServerSourceCodeForVS2010Debugclient.dll
文件 9454 2014-10-21 15:02 StreamMediaServerSourceCodeForVS2010DebugDebugStrings_dvrclientlayer.txt
文件 3829 2014-10-21 15:02 StreamMediaServerSourceCodeForVS2010DebugDebugStrings_Playerlayer.txt
文件 7809 2014-10-21 14:46 StreamMediaServerSourceCodeForVS2010DebugDrawList.obj
文件 1847296 2006-06-09 15:54 StreamMediaServerSourceCodeForVS2010DebugDS40xxSDK.dll
文件 2539520 2006-07-27 11:57 StreamMediaServerSourceCodeForVS2010DebugDsSdk.dll
文件 49152 2007-05-31 10:26 StreamMediaServerSourceCodeForVS2010DebugDVRClientlayer.dll
文件 29294 2007-03-22 11:33 StreamMediaServerSourceCodeForVS2010DebugDVRClientlayer.lib
文件 32277 2014-10-21 14:46 StreamMediaServerSourceCodeForVS2010Debugfolder_dialog.obj
文件 106537 2006-05-09 21:57 StreamMediaServerSourceCodeForVS2010Debughcdvr.dll
文件 282624 2006-11-15 16:28 StreamMediaServerSourceCodeForVS2010DebugHCNetSDK.dll
文件 102400 2007-06-01 10:36 StreamMediaServerSourceCodeForVS2010DebugHikCardPlugin.dll
文件 204800 2007-05-29 10:43 StreamMediaServerSourceCodeForVS2010Debughikclient.dll
文件 44383 2014-10-21 14:46 StreamMediaServerSourceCodeForVS2010DebugHikClockPaster.obj
文件 28672 2006-07-13 11:30 StreamMediaServerSourceCodeForVS2010DebugHikH264PlayPlugin.dll
文件 303104 2007-03-22 09:54 StreamMediaServerSourceCodeForVS2010DebugHikHcPlugin.dll
文件 294912 2007-03-22 09:55 StreamMediaServerSourceCodeForVS2010DebugHikMePlugin.dll
文件 544768 2006-06-12 10:45 StreamMediaServerSourceCodeForVS2010DebugHikMP4Net.dll
............此处省略181个文件信息
//*************************************************************************
// BCMenu.cpp : implementation file
// Version : 3.02
// Date : March 2002
// Author : Brent Corkum
// Email : corkum@rocscience.com
// Latest Version : http://www.rocscience.com/~corkum/BCMenu.html
//
// Bug Fixes and portions of code supplied by:
//
// Ben AshleyGirish BharadwajJean-Edouard Lachand-Robert
// Robert Edward CaldecottKenny GoersLeonardo Zide
// Stefan KuhrReiner JungMartin VladicKim Yoo Chul
// Oz SolomonovichTongzhe CuiStephane ClogWarren Stevens
// Damir ValiulinDavid KinderMarc Loiry
//
// You are free to use/modify this code but leave this header intact.
// This class is public domain so you are free to use it any of
// your applications (FreewareSharewareCommercial). All I ask is
// that you let me know so that if you have a real winner I can
// brag to my buddies that some of my code is in your app. I also
// wouldn‘t mind if you sent me a copy of your application since I
// like to play with new stuff.
//*************************************************************************
#include “stdafx.h“ // Standard windows header file
#include “BCMenu.h“ // BCMenu class declaration
#include //SK: makes A2W and other spiffy AFX macros work
#ifdef _DEBUG
#define new DEBUG_NEW
#undef THIS_FILE
static char THIS_FILE[] = __FILE__;
#endif
#define BCMENU_GAP 1
#ifndef OBM_CHECK
#define OBM_CHECK 32760 // from winuser.h
#endif
#if _MFC_VER <0x400
#error This code does not work on Versions of MFC prior to 4.0
#endif
static CPINFO CPInfo;
// how the menu‘s are drawn in win9x/NT/2000
UINT BCMenu::original_drawmode=BCMENU_DRAWMODE_ORIGINAL;
BOOL BCMenu::original_select_disabled=TRUE;
// how the menu‘s are drawn in winXP
UINT BCMenu::xp_drawmode=BCMENU_DRAWMODE_XP;
BOOL BCMenu::xp_select_disabled=FALSE;
BOOL BCMenu::xp_draw_3D_bitmaps=TRUE;
CImageList BCMenu::m_AllImages;
CArray BCMenu::m_AllImagesID;
enum Win32Type{
Win32s
WinNT3
Win95
Win98
WinME
WinNT4
Win2000
WinXP
};
Win32Type IsShellType()
{
Win32Type ShellType;
DWORD winVer;
OSVERSIONINFO *osvi;
winVer=GetVersion();
if(winVer<0x80000000){/*NT */
ShellType=WinNT3;
osvi= (OSVERSIONINFO *)malloc(sizeof(OSVERSIONINFO));
if (osvi!=NULL){
memset(osvi0sizeof(OSVERSIONINFO));
osvi->dwOSVersionInfoSize=sizeof(OSVERSIONINFO);
GetVersionEx(osvi);
if(osvi->dwMajorVersion==4L)ShellType=WinNT4;
else if(osvi->dwMajorVersion==5L&&osvi->dwMinorVersion==0L)ShellType=Win2000;
else if(osvi->dwMajorVersion==5L&&osvi->dwMinorVersion==1L)ShellType=WinXP;
free(osvi);
}
}
else if (LOBYTE(LOWORD(winVer))<4)
ShellType=Win32s;
else{
ShellType=Win95;
osvi= (OSVERSIONINFO *)malloc(sizeof(OSVERSIONINFO));
if (osvi!=NULL){
memset(osvi0sizeof(OSVERSIONINFO));
osvi->dwOSVersionInfoSize=sizeof(OSVERSIONINFO);
属性 大小 日期 时间 名称
----------- --------- ---------- ----- ----
文件 88832 2014-10-21 13:59 StreamMediaServerSourceCodeForVS2010BCMenu.cpp
文件 16478 2002-03-31 11:20 StreamMediaServerSourceCodeForVS2010BCMenu.h
文件 69986 2006-05-26 09:23 StreamMediaServerSourceCodeForVS2010BtnST.cpp
文件 10401 2003-03-03 21:47 StreamMediaServerSourceCodeForVS2010BtnST.h
文件 28672 2006-06-02 16:51 StreamMediaServerSourceCodeForVS2010DebugAbsDvr.dll
文件 1236992 2006-08-30 11:43 StreamMediaServerSourceCodeForVS2010DebugACE.dll
文件 1687552 2006-05-10 17:16 StreamMediaServerSourceCodeForVS2010DebugACEd.dll
文件 406803 2014-10-21 14:46 StreamMediaServerSourceCodeForVS2010DebugBCMenu.obj
文件 128475 2014-10-21 14:46 StreamMediaServerSourceCodeForVS2010DebugBtnST.obj
文件 8498 2014-10-21 14:46 StreamMediaServerSourceCodeForVS2010Debugcl.command.1.tlog
文件 42550 2014-10-21 14:46 StreamMediaServerSourceCodeForVS2010DebugCL.read.1.tlog
文件 6270 2014-10-21 14:46 StreamMediaServerSourceCodeForVS2010DebugCL.write.1.tlog
文件 110592 2007-06-01 17:31 StreamMediaServerSourceCodeForVS2010Debugclient.dll
文件 9454 2014-10-21 15:02 StreamMediaServerSourceCodeForVS2010DebugDebugStrings_dvrclientla
文件 3829 2014-10-21 15:02 StreamMediaServerSourceCodeForVS2010DebugDebugStrings_Pla
文件 7809 2014-10-21 14:46 StreamMediaServerSourceCodeForVS2010DebugDrawList.obj
文件 1847296 2006-06-09 15:54 StreamMediaServerSourceCodeForVS2010DebugDS40xxSDK.dll
文件 2539520 2006-07-27 11:57 StreamMediaServerSourceCodeForVS2010DebugDsSdk.dll
文件 49152 2007-05-31 10:26 StreamMediaServerSourceCodeForVS2010DebugDVRClientla
文件 29294 2007-03-22 11:33 StreamMediaServerSourceCodeForVS2010DebugDVRClientla
文件 32277 2014-10-21 14:46 StreamMediaServerSourceCodeForVS2010Debugfolder_dialog.obj
文件 106537 2006-05-09 21:57 StreamMediaServerSourceCodeForVS2010Debughcdvr.dll
文件 282624 2006-11-15 16:28 StreamMediaServerSourceCodeForVS2010DebugHCNetSDK.dll
文件 102400 2007-06-01 10:36 StreamMediaServerSourceCodeForVS2010DebugHikCardPlugin.dll
文件 204800 2007-05-29 10:43 StreamMediaServerSourceCodeForVS2010Debughikclient.dll
文件 44383 2014-10-21 14:46 StreamMediaServerSourceCodeForVS2010DebugHikClockPaster.obj
文件 28672 2006-07-13 11:30 StreamMediaServerSourceCodeForVS2010DebugHikH264PlayPlugin.dll
文件 303104 2007-03-22 09:54 StreamMediaServerSourceCodeForVS2010DebugHikHcPlugin.dll
文件 294912 2007-03-22 09:55 StreamMediaServerSourceCodeForVS2010DebugHikMePlugin.dll
文件 544768 2006-06-12 10:45 StreamMediaServerSourceCodeForVS2010DebugHikMP4Net.dll
............此处省略181个文件信息
版权声明:本文内容由互联网用户自发贡献,该文观点仅代表作者本人。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌抄袭侵权/违法违规的内容, 请发送邮件举报,一经查实,本站将立刻删除。
评论列表(条)