登录
首页 » c++ » c++,显示图像

c++,显示图像

于 2022-01-26 发布 文件大小:31.82 MB
0 123
下载积分: 2 下载次数: 1

代码说明:

IPicture接口对象的创建          方法1:直接通过文件创建 LPCSTR szFileUrl;  IPicture *pIPicture;  OleLoadPicturePath(CComBSTR(szFileUrl),    (LPUNKNOWN)NULL,    0,    0,    IID_IPicture,    (LPVOID*)&pIPicture))         方法2:通过IStream来创建  // 加载电子地图  LPCSTR szFileUrl;  IStream *pStream = NULL;  IPicture *pIPicture = NULL;;  CFileStatus fstatus;  CFile file;  LONG lFileSize;  HGLOBAL hGlobal;  if(file.Open(szFileUrl, CFile::modeRead) && file.GetStatus(szFileUrl, fstatus)   && ((lFileSize = fstatus.m_size) != -1))  {   hGlobal = GlobalAlloc(GMEM_MOVEABLE, lFileSize);// 开辟大内存   if(hGlobal != NULL)   {    LPVOID pvData = NULL; &nb

下载说明:请别用迅雷下载,失败请重下,重下不扣分!

发表评论

0 个回复

  • DAC
    基于MSP430定时器实现的DAC设计源代码(Based on MSP430 timer realize the design of the source code of the DAC)
    2008-05-12 14:15:50下载
    积分:1
  • 009
    实现仿VC界面的程序,能实现文件目录的读读取,日历控件的添加选择,对CTreeCtrl类进行了重新封装(Realization of imitation VC interface procedures, can achieve read read file directory, select the calendar control to add the CTreeCtrl class has been re-packaged)
    2013-08-29 14:00:44下载
    积分:1
  • tekradius
    一个测试Radius的工具,可以测试Radius服务器是否正确(tekradius this is a good test tool)
    2014-11-03 10:37:26下载
    积分:1
  • PF-HIT
    说明:  主要用于潮流计算,可以设置多平衡节点fgfgfgfg(yhuhgfjhgjhgjhg)
    2009-08-08 11:13:39下载
    积分:1
  • system
    实现迷你图书馆管理系统,用的是VS和SQLServer2005设计的(Achieve mini library management system, using the design of VS and SQLServer2005)
    2013-11-19 20:27:44下载
    积分:1
  • fr2009
    可以方便的进行三次以内方幂求和公式的自动推导 此代码为独创(Can easily be a power of less than three times the automatic derivation of the summation formula for the original code)
    2009-09-06 10:55:01下载
    积分:1
  • C++ renju 游戏算法
    界面部分采用MFC实现,人机对战,而且可以提高难度等级,包含一些AI算法
    2022-01-22 05:06:20下载
    积分:1
  • C++less5
    提供了初学C++的源代码的例题,是初学者很好的学习资料(Provides a beginner C++ Example source code is good for beginners learning materials)
    2008-01-09 14:54:17下载
    积分:1
  • fudianshuchuli
    说明:  浮点数的定义及计算方法,可用于初级学习之用(floap contral)
    2010-04-09 12:32:03下载
    积分:1
  • STM32F4+W5500_Keil4.72
    stm32 w5500例程,TCP UDP TCPSERVER等(Stm32 w5500 routines, TCP UDP TCPSERVER and so on)
    2018-03-28 08:58:04下载
    积分:1
  • 696516资源总数
  • 106442会员总数
  • 11今日下载