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

c++,显示图像

于 2022-01-26 发布 文件大小:31.82 MB
0 43
下载积分: 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 个回复

  • 程序相似性比较代码
    程序相似性比较代码
    2015-01-23下载
    积分:1
  • cplca2
    折页机电子刀设置软件,用于印刷机械控制 配套软件是“cplca1.rar"(E-knife folding machine set up software for the printing machine control software is )
    2007-09-13 14:30:15下载
    积分:1
  • LLC_Gain_Curve_Plot
    用于绘制LLC的增益曲线。把这段代码放到Matlab里,运行,就能够绘制出来LLC的增益曲线了。(This code is used to draw the gain curve of the LLC converter.)
    2019-01-18 18:09:14下载
    积分:1
  • CSharp.net-_-400-classic-example
    C#.net_经典例子400个,很实用哦!(C#.net _ 400 classic example)
    2013-09-22 17:42:39下载
    积分:1
  • 万年历
    stm32,OLED模块显示温湿度,时间。(Stm32, OLED module shows temperature, humidity and time.)
    2020-06-20 07:40:01下载
    积分:1
  • erode
    C语言数学形态学的腐蚀运算,同时适用于二值图像与灰度图像。(C language mathematical morphology erosion operation also apply to binary images and gray-scale image.)
    2009-11-14 14:43:40下载
    积分:1
  • 100-classical-living-examples-on-C-Language
    说明:  C语言100经典实例教程,非常实用、方便的C语言学习材料!(C-100 classic example of tutorials, very useful and convenient C-language learning materials!)
    2010-04-28 18:20:32下载
    积分:1
  • SCA100T
    这是SCA100T倾角传感器基于STM32F103的测试程序,包括SPI和ADC两种方法读取角度值(This is the test program of SCA100T tilt sensor based on STM32F103.)
    2021-04-11 16:58:58下载
    积分:1
  • 波阻抗反演
    说明:  使用测井资料求得地层反射系数与子波褶积形成地震记录,对地震记录快速傅里叶变换,然后求得反滤波因子,反滤波因子与地震记录褶积,求得波阻抗(Using well logging data to obtain the reflection coefficient of the formation and the wavelet convolution to form the seismic record, and then using the fast Fourier transform of the seismic record to obtain the anti filtering factor, the anti filtering factor and the seismic record convolution to obtain the wave impedance)
    2020-03-29 19:48:21下载
    积分:1
  • Gauss
    数值分析中用C 语言验证验证Gauss列主元消去法。(Numerical analysis using the C language to verify verify the Gauss column principal component elimination.)
    2013-03-25 21:11:32下载
    积分:1
  • 696518资源总数
  • 104224会员总数
  • 54今日下载