Welcome![Sign In][Sign Up]
Location:
Search - LPCTSTR

Search list

[Game ProgramQQ_local_passward_decode

Description: 构成及源代码: 1 构成:VB程序调用VC编写的OCX,这样做是为了方面大家自己做界面。 2 OCX的输出函数:只有一个:void CQQDecoderCtrl::Decoder(LPCTSTR fileQQ, LPCTSTR filePwd) ,第一个参数是QQ的密码文件,第二个参数是密码字典。 3 源代码:VB的源代码不作介绍了,附件里面有。这里只说明一下VC的源代码(附件里面也有)。-composition and source code : a pose : VB program called VC prepared by the OCX, This is to respect everyone doing their own interface. 2 OCX output function : Only one : void CQQDecoderCtrl : : Decoder (LPCTSTR fileQQ, LPCTSTR filePwd) The first parameter is the password file QQ, and the second parameter is the password dictionary. 3 source code : VB source code is not introduced, annex inside. Here is the elaborate VC source code (which are also Annex).
Platform: | Size: 123286 | Author: 陈朋 | Hits:

[Special EffectsbitmapEx_source

Description: 一种向CBitmap对象读取“*.bmp”文件的快捷方式。 1、建立自己的CBitmap派生类。 2、增加一个“Load from bitmap”的函数: BOOL CMyBitmap::LoadBitmap(LPCTSTR szFileName) { DeleteObject() HBITMAP hBitmap=NULL hBitmap=(HBITMAP)LoadImage(NULL,szFileName,IMAGE_BITMAP,0,0,LR_LOADFROMFILE|LR_CREATEDIBSECTION|LR_DEFAULTSIZE) return Attach(hBitmap) }-CBitmap object to a reading of "*. bmp" file shortcuts. One, to build their own CBitmap derived class. 2, add a "Load from bitmap" function : BOOL CMyBitmap : : LoadBitmap (LPCTSTR szFileName) (DeleteObje ct () HBITMAP hBitmap = NULL hBitmap = (HBITMAP) LoadImage (NULL, szFileName, IMAGE_BITMAP, 0, 0, LR_LOADFROMFILE | LR_CREATEDIBSECTION | LR_D EFAULTSIZE) return Attach (hBitmap);)
Platform: | Size: 5411 | Author: 李明 | Hits:

[Compress-Decompress algrithms7zipDll2

Description: 内存中进行压缩和解压的两个方法: 压缩 int RamEncode(Byte *inBuffer, //输入内存缓冲区指针BYTE*类型 size_t inSize, //输入内存缓冲区的大小 Byte *outBuffer, //输出缓冲区指针BYTE*类型 size_t &outSize, //计算出的输出缓冲区大小 Int32 dictionary //字典的大小 ) 解压 int RamDecode(Byte *inBuffer, //输入内存缓冲区指针BYTE*类型 size_t inSize, //输入内存缓冲区的大小 Byte *outBuffer, //输出缓冲区指针BYTE*类型 size_t &outSize, //计算出的输出缓冲区大小 Int32 dictionary //字典的大小 ) 对文件进行压缩和解压的两个方法: 压缩: int FileEncode(LPCTSTR inFile, //输入文件路径 LPCTSTR outFile, //输出文件路径 Int32 dictionary //字典大小 ) 解压: int FileDecode(LPCTSTR inFile, //输入文件路径 LPCTSTR outFile, //输出文件路径 Int32 dictionary //字典大小 )-memory compression and decompression of two methods : RamEncode compression int (* Byte inBuffer. / / input buffer memory pointer BYTE * types size_t inSize, / / input buffer memory size Byte * outBuffer, / / output buffer pointer BYTE * types size_t
Platform: | Size: 39326 | Author: 王玮 | Hits:

[OS programabc

Description: 通过函数 BOOL CreateProcess(LPCTSTR lpApplicationName,LPTSTR lpCommandLine, LPSECURITY_ATTRIBUTES lpProcessAttributes, LPSECURITY_ATTRIBUTES lpThreadAttributes, BOOL bInheritHandles, DWORD dwCreationFlags, LPVOID lpEnvironment, LPCTSTR lpCurrentDirectory, LPSTARTUPINFO lpStartupInfo, LPPROCESS_INFORMATION lpProcessInformation)创建进程。
Platform: | Size: 4185 | Author: 王正美 | Hits:

[Windows DevelopWebGrab_src

Description: CWebGrab类使您能够快速简洁的从网上下载文件。它支持所有MFC类支持的协议。 这个类使用起来很简单,你只需要调用一个主函数CWebGrab::GetFile。这个函数的语法是: BOOL GetFile(LPCTSTR szURL, CString& strBuffer, LPCTSTR szAgentName = NULL, CWnd* pWnd = NULL)
Platform: | Size: 7140 | Author: tjcnc | Hits:

[Books操作优盘

Description: CString strdir=""; for(char cc=‘A‘;cc<=‘Z‘;cc++) { strdir.Format("%c:",cc); if(GetDriveType((LPCTSTR)strdir)==DRIVE_REMOVABLE)//移动盘
Platform: | Size: 31744 | Author: chenchen.163@163.com | Hits:

[WinSock-NDIS简单的web浏览器

Description: 使用MFC编写的简单的浏览器 CHtmlView 类的成员函数 1.获取和设置属性(Attributes)的成员函数 (1)CString GetType( ) const; (2)long GetLeft( ) const; void SetLeft( long nNewValue ); (3)long GetTop( ) const; void SetTop( long nNewValue ); (4)long GetHeight( ) const; void SetHeight( long nNewValue ); (5)BOOL GetVisible( ) const; void SetVisible( BOOL bNewValue ); 2.主要的操作(Operations)成员函数 这些成员函数非常有用,常常用在应用程序中。 void GoBack( ); 导航到历史列表的前一个条目(previous item)。 void GoForward( ); 导航到历史列表的下一个条目。 void GoHome( ); 导航到主页,该主页在IE的属性中设置。 void GoSearch( ); 导航到当前搜索页。该页在IE的属性中设置。 void Refresh( ); 重新装入浏览器当前正在显示的URL或者文件,即刷新。 void Stop( ); 撤销任何未完成的导航或下载,并且停止任何动态的页面元素,例如背景音乐和动画。 Navigate 导航到由URL指定的资源。 Navigate2 导航到由URL指定的资源或者由全路径指定的文件。 PutProperty 设置与所给定的对象相关的属性的当前值。 GetProperty 返回与所给定的对象相关的属性的当前值。 ExecWB 执行一个命令。 LoadFromResource 在WebBrowser控件中装入一个资源。 3.事件(Events)处理函数 为了利用Windows的消息驱动机制,CHtmlView 类定义了许多可重载的事件处理函数,当一定的事件发生时,MFC框架会自动调用相应的事件处理函数。用户可以重载这些函数,添加自己的代码,实现应用程序特定的功能。下面列举了一些,详细的资料可查阅MSDN文档。 OnNavigateComplete2 对于一个窗口或显示框架,完成到一个超链接的导航后,调用此函数 OnBeforeNavigate2 对于一个窗口或显示框架,在给定的Web浏览器中,一个导航出现之前,调用此函数 virtual void OnStatusTextChange( LPCTSTR lpszText ); 当与WebBrowser 控件相关的状态栏的文本改变时,调用此函数,参数lpszText包含新的状态栏文本的字符串。 virtual void OnVisible( BOOL bVisible ); 当WebBrowser 的窗口应当被显示或隐藏时,框架调用此函数,bVisible表示了窗口的状态,:如果为非零,对象可见;为零,对象不可见。 virtual void OnToolBar( BOOL bToolBar ); 当 ToolBar 属性已经改变时,调用此函数,bToolBar为非零, IE的工具栏是可见的;否则相反。 virtual void OnMenuBar( BOOL bMenuBar ); 当 MenuBar 属性已改变时,调用此函数。bMenuBar为非零,菜单栏可见;否则相反。
Platform: | Size: 3688551 | Author: chuengchi@126.com | Hits:

[Game ProgramQQ_local_passward_decode

Description: 构成及源代码: 1 构成:VB程序调用VC编写的OCX,这样做是为了方面大家自己做界面。 2 OCX的输出函数:只有一个:void CQQDecoderCtrl::Decoder(LPCTSTR fileQQ, LPCTSTR filePwd) ,第一个参数是QQ的密码文件,第二个参数是密码字典。 3 源代码:VB的源代码不作介绍了,附件里面有。这里只说明一下VC的源代码(附件里面也有)。-composition and source code : a pose : VB program called VC prepared by the OCX, This is to respect everyone doing their own interface. 2 OCX output function : Only one : void CQQDecoderCtrl : : Decoder (LPCTSTR fileQQ, LPCTSTR filePwd) The first parameter is the password file QQ, and the second parameter is the password dictionary. 3 source code : VB source code is not introduced, annex inside. Here is the elaborate VC source code (which are also Annex).
Platform: | Size: 122880 | Author: 陈朋 | Hits:

[Special EffectsbitmapEx_source

Description: 一种向CBitmap对象读取“*.bmp”文件的快捷方式。 1、建立自己的CBitmap派生类。 2、增加一个“Load from bitmap”的函数: BOOL CMyBitmap::LoadBitmap(LPCTSTR szFileName) { DeleteObject() HBITMAP hBitmap=NULL hBitmap=(HBITMAP)LoadImage(NULL,szFileName,IMAGE_BITMAP,0,0,LR_LOADFROMFILE|LR_CREATEDIBSECTION|LR_DEFAULTSIZE) return Attach(hBitmap) }-CBitmap object to a reading of "*. bmp" file shortcuts. One, to build their own CBitmap derived class. 2, add a "Load from bitmap" function : BOOL CMyBitmap : : LoadBitmap (LPCTSTR szFileName) (DeleteObje ct () HBITMAP hBitmap = NULL hBitmap = (HBITMAP) LoadImage (NULL, szFileName, IMAGE_BITMAP, 0, 0, LR_LOADFROMFILE | LR_CREATEDIBSECTION | LR_D EFAULTSIZE) return Attach (hBitmap);)
Platform: | Size: 5120 | Author: 李明 | Hits:

[Compress-Decompress algrithms7zipDll2

Description: 内存中进行压缩和解压的两个方法: 压缩 int RamEncode(Byte *inBuffer, //输入内存缓冲区指针BYTE*类型 size_t inSize, //输入内存缓冲区的大小 Byte *outBuffer, //输出缓冲区指针BYTE*类型 size_t &outSize, //计算出的输出缓冲区大小 Int32 dictionary //字典的大小 ) 解压 int RamDecode(Byte *inBuffer, //输入内存缓冲区指针BYTE*类型 size_t inSize, //输入内存缓冲区的大小 Byte *outBuffer, //输出缓冲区指针BYTE*类型 size_t &outSize, //计算出的输出缓冲区大小 Int32 dictionary //字典的大小 ) 对文件进行压缩和解压的两个方法: 压缩: int FileEncode(LPCTSTR inFile, //输入文件路径 LPCTSTR outFile, //输出文件路径 Int32 dictionary //字典大小 ) 解压: int FileDecode(LPCTSTR inFile, //输入文件路径 LPCTSTR outFile, //输出文件路径 Int32 dictionary //字典大小 )-memory compression and decompression of two methods : RamEncode compression int (* Byte inBuffer.// input buffer memory pointer BYTE* types size_t inSize,// input buffer memory size Byte* outBuffer,// output buffer pointer BYTE* types size_t
Platform: | Size: 38912 | Author: 王玮 | Hits:

[OS programabc

Description: 通过函数 BOOL CreateProcess(LPCTSTR lpApplicationName,LPTSTR lpCommandLine, LPSECURITY_ATTRIBUTES lpProcessAttributes, LPSECURITY_ATTRIBUTES lpThreadAttributes, BOOL bInheritHandles, DWORD dwCreationFlags, LPVOID lpEnvironment, LPCTSTR lpCurrentDirectory, LPSTARTUPINFO lpStartupInfo, LPPROCESS_INFORMATION lpProcessInformation)创建进程。-Through the function BOOL CreateProcess (LPCTSTR lpApplicationName, LPTSTR lpCommandLine, LPSECURITY_ATTRIBUTES lpProcessAttributes, LPSECURITY_ATTRIBUTES lpThreadAttributes, BOOL bInheritHandles, DWORD dwCreationFlags, LPVOID lpEnvironment, LPCTSTR lpCurrentDirectory, LPSTARTUPINFO lpStartupInfo, LPPROCESS_INFORMATION lpProcessInformation) to create process.
Platform: | Size: 4096 | Author: 王正美 | Hits:

[Windows DevelopWebGrab_src

Description: CWebGrab类使您能够快速简洁的从网上下载文件。它支持所有MFC类支持的协议。 这个类使用起来很简单,你只需要调用一个主函数CWebGrab::GetFile。这个函数的语法是: BOOL GetFile(LPCTSTR szURL, CString& strBuffer, LPCTSTR szAgentName = NULL, CWnd* pWnd = NULL)-CWebGrab category enables you to quickly concise document downloaded from the Internet. It supports all types of MFC support agreement. This class is very simple to use, you only need to call a main function CWebGrab:: GetFile. The function syntax is: BOOL GetFile (LPCTSTR szURL, CString
Platform: | Size: 7168 | Author: tjcnc | Hits:

[Windows DevelopDirectoryList

Description: class CMyTreeCtrl : public CTreeCtrl { // Construction public: CMyTreeCtrl() // Attributes public: // Operations public: // Overrides // ClassWizard generated virtual function overrides //{{AFX_VIRTUAL(CMyTreeCtrl) //}}AFX_VIRTUAL // Implementation public: CBitmap m_bitmap BOOL SetBKImage(LPCTSTR LpszResource) virtual ~CMyTreeCtrl() // Generated message map functions protected: //{{AFX_MSG(CMyTreeCtrl) afx_msg void OnPaint() afx_msg void OnItemexpanded(NMHDR* pNMHDR, LRESULT* pResult) afx_msg BOOL OnEraseBkgnd(CDC* pDC) afx_msg void OnMouseMove(UINT nFlags, CPoint point) afx_msg void OnVScroll(UINT nSBCode, UINT nPos, CScrollBar* pScrollBar) afx_msg BOOL OnMouseWheel(UINT nFlags, short zDelta, CPoint pt) //}}AFX_MSG DECLARE_MESSAGE_MAP() } -class CMyTreeCtrl: public CTreeCtrl (//Constructionpublic: CMyTreeCtrl ()// Attributespublic:// Operationspublic:// Overrides// ClassWizard generated virtual function overrides// ((AFX_VIRTUAL (CMyTreeCtrl)//)) AFX_VIRTUAL// Implementationpublic: CBitmap m_bitmap BOOL SetBKImage (LPCTSTR LpszResource) virtual ~ CMyTreeCtrl ()// Generated message map functionsprotected:// ((AFX_MSG (CMyTreeCtrl) afx_msg void OnPaint () afx_msg void OnItemexpanded (NMHDR* pNMHDR, LRESULT* pResult) afx_msg BOOL OnEraseBkgnd (CDC* pDC ) afx_msg void OnMouseMove (UINT nFlags, CPoint point) afx_msg void OnVScroll (UINT nSBCode, UINT nPos, CScrollBar* pScrollBar) afx_msg BOOL OnMouseWheel (UINT nFlags, short zDelta, CPoint pt)//)) AFX_MSG DECLARE_MESSAGE_MAP ())
Platform: | Size: 186368 | Author: zhoujay | Hits:

[Windows Developchat

Description: class CMyTreeCtrl : public CTreeCtrl { // Construction public: CMyTreeCtrl() // Attributes public: // Operations public: // Overrides // ClassWizard generated virtual function overrides //{{AFX_VIRTUAL(CMyTreeCtrl) //}}AFX_VIRTUAL // Implementation public: CBitmap m_bitmap BOOL SetBKImage(LPCTSTR LpszResource) virtual ~CMyTreeCtrl() // Generated message map functions protected: //{{AFX_MSG(CMyTreeCtrl) afx_msg void OnPaint() afx_msg void OnItemexpanded(NMHDR* pNMHDR, LRESULT* pResult) afx_msg BOOL OnEraseBkgnd(CDC* pDC) afx_msg void OnMouseMove(UINT nFlags, CPoint point) afx_msg void OnVScroll(UINT nSBCode, UINT nPos, CScrollBar* pScrollBar) afx_msg BOOL OnMouseWheel(UINT nFlags, short zDelta, CPoint pt) //}}AFX_MSG DECLARE_MESSAGE_MAP() } -class CMyTreeCtrl: public CTreeCtrl (//Constructionpublic: CMyTreeCtrl ()// Attributespublic:// Operationspublic:// Overrides// ClassWizard generated virtual function overrides// ((AFX_VIRTUAL (CMyTreeCtrl)//)) AFX_VIRTUAL// Implementationpublic: CBitmap m_bitmap BOOL SetBKImage (LPCTSTR LpszResource) virtual ~ CMyTreeCtrl ()// Generated message map functionsprotected:// ((AFX_MSG (CMyTreeCtrl) afx_msg void OnPaint () afx_msg void OnItemexpanded (NMHDR* pNMHDR, LRESULT* pResult) afx_msg BOOL OnEraseBkgnd (CDC* pDC ) afx_msg void OnMouseMove (UINT nFlags, CPoint point) afx_msg void OnVScroll (UINT nSBCode, UINT nPos, CScrollBar* pScrollBar) afx_msg BOOL OnMouseWheel (UINT nFlags, short zDelta, CPoint pt)//)) AFX_MSG DECLARE_MESSAGE_MAP ())
Platform: | Size: 73728 | Author: zhoujay | Hits:

[Graph DrawingDrawImage(Realse)

Description: 提供检测区域划定的功能,首先SetHostInfo初始化参数,然后SetImageFileName(LPCTSTR pFileName)取得一张场景图像, 根据需要绘制一个检测区域,WriteDataBase(void) 将这个区域存储,作为IVS的输入-To provide regional delineation of the functions of detection, first of all SetHostInfo initialization parameters, and then SetImageFileName (LPCTSTR pFileName) made a scene image, according to the need to draw a detection region, WriteDataBase (void) will be stored in the region, as IVS input
Platform: | Size: 89088 | Author: | Hits:

[ADO-ODBC2shujuku

Description: 介绍二进制数据库的编程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(&bm) m_Image.SetBitmapDimension(bm.bmWidth,bm.bmHeight) return TRUE } return FALSE } -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 (
Platform: | Size: 661504 | Author: 王风 | Hits:

[Windows Developstringconvert

Description: 字符串转换 TCHAR CString LPCTSTR-TCHAR CString LPCTSTR string conversion and so on
Platform: | Size: 48128 | Author: xing | Hits:

[Windows Developex17a

Description: 文档-视图架构是VC++应用开发中非常经典的模型,也是VC++开发人员必须掌握的技术。本示例是一个SDI应用,它包含了CObList集合类、自定义CStudent继承CObject类以实现序列化功能,即把学生对象放到集合中(Java中非常普遍的作法),然后把这个集合对象序列化。这个示例是非常具有实际意义的例子,销加修改就可以在实际中应用,比如OnOpenDocument(LPCTSTR lpszPathName)函数中进行反序列化操作,就可以恢复集合对象的状态。
Platform: | Size: 2060288 | Author: Arkliszeng | Hits:

[OS programRegOpt

Description: 访问注册表的封装类,动态库代码,申明如typedef LPCTSTR (WINAPI *lpFunInitRegistry)(HKEY hKey) lpFunInitRegistry g_lpFunInitRegistry 调用方式LPCTSTR lpReg = g_lpFunInitRegistry(HKEY_LOCAL_MACHINE) g_lpFunOpenSubKey(lpReg, "SOFTWARE\\Microsoft\\Windows\\CurrentVersion\\Run", KEY_READ) g_lpFunReadStr(lpReg, "Agent", pszAutoStartupPath) g_lpFunCloseKey(lpReg) 等-access registry s c++ dll source code
Platform: | Size: 3811328 | Author: ly | Hits:

[GDI-BitmapCooImage

Description: 项目中用的一个图像处理类 CCooImage,支持以下方法: BOOL CompareWithBMPFile(LPCTSTR file) void SetImage(Image* pImage) BOOL IsCreated() BOOL SetImage (LPCTSTR strImageFile) INT GetHeight() INT GetWidth() static void DrawTransparentBitmap(HDC hdc, HBITMAP hBitmap, short xStart, short yStart, COLORREF cTransparentColor) static int GetEncoderClsid(const WCHAR* format, CLSID* pClsid) static BOOL SaveTargetToBMPFile(LPCTSTR szFile, HDC hDC) BOOL SaveToBMPFile(LPCTSTR szFile) void TileImage (CRect& rect, UINT nAlphaBlend=100, CDC *drawDC=NULL) void StretchImage(int actualWidth, int actualHeight,UINT nAlphaBlend=100, CDC *drawDC=NULL) void ShowImage(INT x=0, INT y=0, UINT nAlphaBlend=100, CDC *drawDC=NULL) -A image process class, have below methods: BOOL CompareWithBMPFile(LPCTSTR file) void SetImage(Image* pImage) BOOL IsCreated() BOOL SetImage (LPCTSTR strImageFile) INT GetHeight() INT GetWidth() static void DrawTransparentBitmap(HDC hdc, HBITMAP hBitmap, short xStart, short yStart, COLORREF cTransparentColor) static int GetEncoderClsid(const WCHAR* format, CLSID* pClsid) static BOOL SaveTargetToBMPFile(LPCTSTR szFile, HDC hDC) BOOL SaveToBMPFile(LPCTSTR szFile) void TileImage (CRect& rect, UINT nAlphaBlend=100, CDC*drawDC=NULL) void StretchImage(int actualWidth, int actualHeight,UINT nAlphaBlend=100, CDC*drawDC=NULL) void ShowImage(INT x=0, INT y=0, UINT nAlphaBlend=100, CDC*drawDC=NULL)
Platform: | Size: 5120 | Author: Jack | Hits:
« 12 »

CodeBus www.codebus.net