Description: Introduced a binary database programming BOOL CUsingBlobDoc:: OnOpenDocument (LPCTSTR lpszPathName) (if (! CDocument:: OnOpenDocument (lpszPathName)) return FALSE HBITMAP hbm = (HBITMAP):: LoadImage (NULL, lpszPathName, IMAGE_BITMAP, 0, 0, LR_LOADFROMFILE ) if (m_Image.Attach (hbm)) (BITMAP bm m_Image.GetBitmap (
File list (Check if you may need any files):
二进制数据库编程
................\ChildFrm.cpp
................\ChildFrm.h
................\dbImages.cpp
................\dbImages.h
................\Debug
................\MainFrm.cpp
................\MainFrm.h
................\ReadMe.txt
................\res
................\...\UsingBlob.rc2
................\Resource.h
................\StdAfx.cpp
................\StdAfx.h
................\UsingBlob.cpp
................\UsingBlob.dsp
................\UsingBlob.dsw
................\UsingBlob.exe
................\UsingBlob.h
................\UsingBLOB.mdb
................\UsingBlob.ncb
................\UsingBlob.opt
................\UsingBlob.plg
................\UsingBlob.rc
................\UsingBlobDoc.cpp
................\UsingBlobDoc.h
................\UsingBlobView.cpp
................\UsingBlobView.h