文件名称:Draw12
- 所属分类:
- Windows编程
- 资源属性:
- [Windows] [Visual C] [源码]
- 上传时间:
- 2012-11-26
- 文件大小:
- 4.78mb
- 下载次数:
- 0次
- 提 供 者:
- Ju***
- 相关连接:
- 无
- 下载说明:
- 别用迅雷下载,失败请重下,重下不扣分!
介绍说明--下载内容均来自于网络,请自行研究使用
中LIBRARY语句说明该def文件是属于相应DLL的,EXPORTS语句下列出要导出的函数名称。我们可以在.def文件中的导出函数后加@n,如Max@1,Min@2,表示要导出的函数顺序号,在进行显式连时可以用到它。该DLL编译成功后,打开工程中的Debug目录,同样也会看到MyDll.dll和MyDll.lib文件。
然后要定义这些函数的实现了,其实这些工作dshow的基类里都已经替我们做好了,我们所要做的就拿来用就是了,最重要的三个函数的实现一般如下
-// {6C410D28-0EEA-4128-A1E6-A488DE1B9D16}
DEFINE_GUID(<<name>>,
0x6c410d28, 0xeea, 0x4128, 0xa1, 0xe6, 0xa4, 0x88, 0xde, 0x1b, 0x9d, 0x16)
// {1015BB4A-3F7B-47b2-A370-1F1CAAF4C24A}
DEFINE_GUID(<<name>>,
0x1015bb4a, 0x3f7b, 0x47b2, 0xa3, 0x70, 0x1f, 0x1c, 0xaa, 0xf4, 0xc2, 0x4a)
然后要定义这些函数的实现了,其实这些工作dshow的基类里都已经替我们做好了,我们所要做的就拿来用就是了,最重要的三个函数的实现一般如下
-// {6C410D28-0EEA-4128-A1E6-A488DE1B9D16}
DEFINE_GUID(<<name>>,
0x6c410d28, 0xeea, 0x4128, 0xa1, 0xe6, 0xa4, 0x88, 0xde, 0x1b, 0x9d, 0x16)
// {1015BB4A-3F7B-47b2-A370-1F1CAAF4C24A}
DEFINE_GUID(<<name>>,
0x1015bb4a, 0x3f7b, 0x47b2, 0xa3, 0x70, 0x1f, 0x1c, 0xaa, 0xf4, 0xc2, 0x4a)
(系统自动生成,下载前可以参看下载内容)
下载文件列表
Draw12\CBMPLoader.cpp
......\CBMPLoader.h
......\Debug\CBMPLoader.obj
......\.....\CBMPLoader.sbr
......\.....\Draw12.bsc
......\.....\Draw12.exe
......\.....\Draw12.ilk
......\.....\Draw12.obj
......\.....\Draw12.pch
......\.....\Draw12.pdb
......\.....\Draw12.res
......\.....\Draw12.sbr
......\.....\Draw12Doc.obj
......\.....\Draw12Doc.sbr
......\.....\Draw12View.obj
......\.....\Draw12View.obj.enc
......\.....\Draw12View.sbr
......\.....\MainFrm.obj
......\.....\MainFrm.sbr
......\.....\MYGrid.obj
......\.....\MYGrid.sbr
......\.....\MyTexture.obj
......\.....\MyTexture.sbr
......\.....\StdAfx.obj
......\.....\StdAfx.sbr
......\.....\TGALoader.obj
......\.....\TGALoader.sbr
......\.....\vc60.idb
......\.....\vc60.pdb
......\.....\Vector.obj
......\.....\Vector.sbr
......\Draw12.aps
......\Draw12.clw
......\Draw12.cpp
......\Draw12.dsp
......\Draw12.dsw
......\Draw12.h
......\Draw12.ncb
......\Draw12.opt
......\Draw12.plg
......\Draw12.rc
......\Draw12Doc.cpp
......\Draw12Doc.h
......\Draw12View.cpp
......\Draw12View.h
......\GL.H
......\GLAUX.dll
......\GLAUX.H
......\GLAUX.LIB
......\glew.h
......\glew32.dll
......\glew32.lib
......\glew32s.lib
......\GLEXT.H
......\GLU.H
......\glu.lib
......\GLU32.LIB
......\GLUT.H
......\glut.lib
......\GLUT32.LIB
......\glxew.h
......\image.bmp
......\MainFrm.cpp
......\MainFrm.h
......\Matrix16.h
......\MyDlgBar.h
......\MYGrid.cpp
......\MYGrid.h
......\MyTexture.cpp
......\MyTexture.h
......\opengl.lib
......\OPENGL32.LIB
......\ReadMe.txt
......\res\Draw12.ico
......\...\Draw12.rc2
......\...\Draw12Doc.ico
......\...\Toolbar.bmp
......\resource.h
......\sphere.tga
......\StdAfx.cpp
......\StdAfx.h
......\TGALoader.cpp
......\TGALoader.h
......\TR.RGB
......\Vector.cpp
......\Vector.h
......\Debug
......\res
Draw12
......\CBMPLoader.h
......\Debug\CBMPLoader.obj
......\.....\CBMPLoader.sbr
......\.....\Draw12.bsc
......\.....\Draw12.exe
......\.....\Draw12.ilk
......\.....\Draw12.obj
......\.....\Draw12.pch
......\.....\Draw12.pdb
......\.....\Draw12.res
......\.....\Draw12.sbr
......\.....\Draw12Doc.obj
......\.....\Draw12Doc.sbr
......\.....\Draw12View.obj
......\.....\Draw12View.obj.enc
......\.....\Draw12View.sbr
......\.....\MainFrm.obj
......\.....\MainFrm.sbr
......\.....\MYGrid.obj
......\.....\MYGrid.sbr
......\.....\MyTexture.obj
......\.....\MyTexture.sbr
......\.....\StdAfx.obj
......\.....\StdAfx.sbr
......\.....\TGALoader.obj
......\.....\TGALoader.sbr
......\.....\vc60.idb
......\.....\vc60.pdb
......\.....\Vector.obj
......\.....\Vector.sbr
......\Draw12.aps
......\Draw12.clw
......\Draw12.cpp
......\Draw12.dsp
......\Draw12.dsw
......\Draw12.h
......\Draw12.ncb
......\Draw12.opt
......\Draw12.plg
......\Draw12.rc
......\Draw12Doc.cpp
......\Draw12Doc.h
......\Draw12View.cpp
......\Draw12View.h
......\GL.H
......\GLAUX.dll
......\GLAUX.H
......\GLAUX.LIB
......\glew.h
......\glew32.dll
......\glew32.lib
......\glew32s.lib
......\GLEXT.H
......\GLU.H
......\glu.lib
......\GLU32.LIB
......\GLUT.H
......\glut.lib
......\GLUT32.LIB
......\glxew.h
......\image.bmp
......\MainFrm.cpp
......\MainFrm.h
......\Matrix16.h
......\MyDlgBar.h
......\MYGrid.cpp
......\MYGrid.h
......\MyTexture.cpp
......\MyTexture.h
......\opengl.lib
......\OPENGL32.LIB
......\ReadMe.txt
......\res\Draw12.ico
......\...\Draw12.rc2
......\...\Draw12Doc.ico
......\...\Toolbar.bmp
......\resource.h
......\sphere.tga
......\StdAfx.cpp
......\StdAfx.h
......\TGALoader.cpp
......\TGALoader.h
......\TR.RGB
......\Vector.cpp
......\Vector.h
......\Debug
......\res
Draw12