• 大小: 4.04MB
    文件类型: .rar
    金币: 1
    下载: 0 次
    发布日期: 2023-10-28
  • 语言: C/C++
  • 标签: 斗地主  

资源简介

VC++斗地主单机版完整代码

资源截图

代码片段和文件信息

/*
 * Dll.c -- A dynamic link library to display a web page in your own window.
 *
 * This is very loosely based upon a C++ example written by Chris Becke. I used
 * that to learn the minimum of what I needed to know about hosting the browser
 * object. Then I wrote this example from the ground up in C.
 *
 * The functions in this DLL callable by a program:
 *
 * embedBrowserobject() -- embeds a browser object in your own window.
 * UnembedBrowserobject() -- Detaches the browser object from your window.
 * DisplayHTMLPage() -- Displays a URL or HTML file on disk.
 * DisplayHTMLStr() -- Displays a (in memory) string of HTML code.
 * DoPageAction() -- Moves forward/backward a page brings up Home or Search page etc.
 * WaitOnReadyState() -- Waits for a page to be in a certain state.
 * GetWebPtrs() -- Obtains a IWebBrowser2 and/or IHTMLDocument2 pointer.
 * GetWebElement() -- Gets the IHTMLElement object of some element on a web page.
 * ResizeBrowser() -- Resizes the IE window to be the same width/height as the app‘s container window.
 *
 * For the release (ie not debug) version then you should set your linker to
 * ignore the default libraries. This will reduce code size.
 */

#include 
#include 
#ifndef NDEBUG
#include 
#endif
#include “cwebpage.h“


/*
#define DOCHOSTUIFLAG_DIALOG 0x00000001 
#define DOCHOSTUIFLAG_DISABLE_HELP_MENU 0x00000002 
#define DOCHOSTUIFLAG_NO3DBORDER 0x00000004 
#define DOCHOSTUIFLAG_SCROLL_NO 0x00000008 
#define DOCHOSTUIFLAG_DISABLE_script_INACTIVE 0x00000010 
#define DOCHOSTUIFLAG_OPENNEWWIN 0x00000020 
#define DOCHOSTUIFLAG_DISABLE_OFFSCREEN 0x00000040 
#define DOCHOSTUIFLAG_FLAT_SCROLLBAR 0x00000080 
#define DOCHOSTUIFLAG_DIV_BLOCKDEFAULT 0x00000100 
#define DOCHOSTUIFLAG_ACTIVATE_CLIENTHIT_ONLY 0x00000200 
#define DOCHOSTUIFLAG_OVERRIDEBEHAVIORFACTORY 0x00000400 
#define DOCHOSTUIFLAG_CODEPAGElinkEDFONTS 0x00000800 
#define DOCHOSTUIFLAG_URL_ENCODING_DISABLE_UTF8 x00001000 
#define DOCHOSTUIFLAG_URL_ENCODING_ENABLE_UTF8 0x00002000 
#define DOCHOSTUIFLAG_ENABLE_FORMS_AUTOCOMPLETE 0x00004000 
#define DOCHOSTUIFLAG_ENABLE_INPLACE_NAVIGATION 0x00010000 
#define DOCHOSTUIFLAG_IME_ENABLE_RECONVERSION 0x00020000 
#define DOCHOSTUIFLAG_THEME 0x00040000 
#define DOCHOSTUIFLAG_NOTHEME 0x00080000 
#define DOCHOSTUIFLAG_NOPICS 0x00100000 
#define DOCHOSTUIFLAG_NO3DOUTERBORDER 0x00200000 
#define DOCHOSTUIFLAG_DELEGATESIDOFDISPATCH 0x00400000 
*/


#if defined(VISUAL_C)
#pragma data_seg(“Shared“)
#endif

/* ============================== SHARED DATA ==============================
 * NOTE: I specify this data section to be Shared (ie each program that uses
 * this shares these variables rather than getting its own copies of these
 * variables). This is because since I have only globals that are read-only
 * or whose value is the same for all processes I don‘t need a separ

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

     文件        112  2010-05-22 07:47  history.txt

     文件        805  2010-01-15 00:16  known-issues.txt

     文件        181  2010-05-22 17:51  mssccprj.scc

     文件       2812  2010-05-22 23:52  Readme.txt

     文件         87  2009-06-14 11:17  uncompleted-tasks.txt

     文件        323  2009-06-29 22:49  _bin\debug\DdzClient.ini

     文件        151  2010-10-14 16:25  _bin\debug\DdzServer.ini

     文件        180  2010-10-14 15:55  _bin\debug\ServerList.ini

     目录          0  2010-10-14 16:51  _bin\debug\SetupClient

     目录          0  2010-10-14 16:51  _bin\debug\SetupServe

    ....SH.       165  2010-05-22 21:42  _bin\debug\vssver2.scc

     目录          0  2010-10-14 16:51  _bin\debug

     文件        323  2009-06-29 22:49  _bin\release\DdzClient.ini

     文件        151  2010-05-22 02:42  _bin\release\DdzServer.ini

     文件        180  2010-10-14 16:19  _bin\release\ServerList.ini

     目录          0  2010-10-14 16:52  _bin\release\SetupClient

     目录          0  2010-10-14 16:51  _bin\release\SetupServer

    ....SH.       167  2010-05-22 21:42  _bin\release\vssver2.scc

     目录          0  2010-10-14 16:49  _bin\release

     目录          0  2010-05-22 20:32  _bin

     文件      33944  2010-05-22 23:23  CWebPage\CWebPage.aps

     文件      97227  2010-10-14 15:02  CWebPage\cwebpage.c

     文件        290  2005-03-11 16:05  CWebPage\cwebpage.def

     文件       6431  2009-05-14 15:42  CWebPage\cwebpage.h

     文件       2318  2010-05-22 23:23  CWebPage\CWebPage.rc

     文件       5092  2010-05-23 02:03  CWebPage\CWebPage.vcproj

     文件       1395  2010-10-14 16:52  CWebPage\CWebPage.vcproj.SHINING-WIN7.Shining.user

     文件        274  2010-05-22 17:51  CWebPage\CWebPage.vcproj.vspscc

     文件        190  2010-10-14 16:33  CWebPage\mssccprj.scc

     文件        402  2010-05-22 22:49  CWebPage\resource.h

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

评论

共有 条评论