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

Search list

[WEB CodeCString 操作指南

Description: vc中关于string的操作,有字符串的各种获取,查找,详细介绍了string的各种操作-vc on the string of operation, the string of access, search, detailing a string of operations
Platform: | Size: 20315 | Author: fg | Hits:

[File Operatevc++资料

Description: CString常见转换,这是初次接触VC++的朋友可能最需要的东西-Regular convert about CString,this is needful for tyro of VC++
Platform: | Size: 84468 | Author: 陈世通 | Hits:

[xml-soap-webserviceXML文档处理类CMarkup

Description: 一个xml解析类源代码,C++实现但使用了mfc的CString类,用于Linux需要改写相关部分。-an analytic category xml source code, but the use of C realization of the mfc redeem category, the need for Linux rewrite the relevant parts.
Platform: | Size: 207147 | Author: 岁月无声 | Hits:

[Menu controlCryptix_src_3-0-3

Description: 1.BOOL OnCommsCreate(CWnd* pParentWnd) 创建串口,本DLL同时创建5个串口。pParentWnd为窗口指针,一般为this。 2. BOOL OnComportOpen() 根据串口设置文件中的设置参数,打开多串口。 3.void OnCommSend(unsigned int uiCom, CString sSendData, unsigned int uiKind) 往指定串口发送数据。其中uiCom为指定的串口,注意串口1的uiCom为0;sSendData为要发送的字符串; uiKind: 发送数据类型:0:原始数据 1:加回车符 2:加校验和。 4.void OnMscommsSet() 打开串口设置界面,改变串口设置,并保存到设置文件中。 5.BOOL OnComportTimerProcess(CString strProcess[MaxPort]) 判断串口接收的一组数据是否已经接收完。 6. BOOL OnPopupDialog() 打开串口收发数据显示调试界面。 7. BOOL OnGetPortUse(unsigned int uiCom) . 判断指定串口是否使用。 8. BOOL OnGetPortExit(unsigned int uiCom) 判断指定串口在本机上是否存在。 9. void OnPortClose(unsigned int uiCom) 关闭指定串口。 10. void OnPortOpen(unsigned int uiCom) 打开指定串口。 11. void OnCloseAllPorts() 关闭所有串口。 12. void OnOpenAllPorts() 打开所有串口。 -1.BOOL OnCommsCreate (CWnd * pParentWnd) Serial create the DLL while creating five serial. PParentWnd pointer to the window, but generally this. 2. BOOL OnComportOpen () Serial document under the parameters set to open multiple serial. 3.void OnCommSend (unsigned int uiCom, redeem sSendData, unsigned int uiKind) sent to the designated serial data. UiCom them for a specific serial port, a serial port to the uiCom 0; SSendData to be sent to the string; UiKind : Send data types : 0 : raw data 1 : Add two carriage returns : plus checksum. 4. OnMscommsSet void () set to open serial interface, serial port settings and set up to preserve documents. 5. BOOL OnComportTimerProcess (redeem strProcess [MaxPort]) Serial judgment of a group receiving data has been received End. 6. BOOL OnPopupDialog ()
Platform: | Size: 921143 | Author: 刘伟 | Hits:

[GUI Develop字符串的查找和提取

Description: 本例讲述在MFC中类Cstring的一些基本用法,希望能给初学者帮助-the cases described in MFC category Cstring some basic usage, in hopes of giving help beginners
Platform: | Size: 28203 | Author: | Hits:

[ActiveX/DCOM/ATLCOMwithString

Description: 如何在编写COM接口的时候灵活运用CString类似的类是很多程序员迫切希望的,这个类很不错!-how COM interface in the preparation of flexibility in the use of a similar type redeem many programmers eager, this category is very good!
Platform: | Size: 10023 | Author: song | Hits:

[Other resourceMyPaint1.0

Description: 设计思路: 对Windows XP自带的画笔程序进行分析,一般User画图过程: 首先鼠标选择绘图工具,然后选择颜色,接着按User需要作图。User对产出的图像进行操作。 对图形元素抽象出公共属性,设计我的画板的作图过程: 选择工具 、画预览效果、User满意并确定、绘制效果。 下面是程序用到主要变量: 当前绘图点粒度:int iGranularity 当前使用颜色:COLORREF curColor 当前绘图状态:int iPaintStatus 当前绘图状态属性:int iPaintProperty 前一个鼠标坐标:CPoint pOldPoint 多边形起点:CPoint pStartPoint 多边形终点:CPoint pEndPoint 当前鼠标坐标:CPoint pCurPoint 输出文本字符串缓存:CString strTextOut 对典型操作过程(画矩形)描述: 用户选择工具_RECTANGLE(使iPaintStatus=_RECTANGLE)、 选择绘图颜色(设定curColor)、 用户按下鼠标左键使绘图状态属性为预览(iPaintProperty=_PREVIEW)、 用户移动鼠标(绘制图形的橡皮线效果) 用户放开左键(绘制图形的实线效果) -design : Windows XP's own brush analysis procedures, the general User drawing process : first choice mouse drawing tool, then select colors, followed by Graphic User needs. User to output images to operate. Right abstract graphic elements from the public properties, design I slate of mapping process : select tools, painting preview effects, User satisfaction and identification, mapping results. Below is a procedure used mainly variables : the current drawing point size : int iGranularity current use of color : COLORREF curColor current graphics state : int iPaintStatus current graphics state attributes : int iPaintProperty before a mouse coordinates : jumping pOldPoint polygon starting point : jumping pStartPoint polygon end : When the redemption pEndPoint before the mouse coordinates
Platform: | Size: 53776 | Author: mars | Hits:

[Windows DevelopCStrLineToNum

Description: 基于CString类的自动分解单词的函数,对于文本文件的处理比较有用-redeem category based on the decomposition of the word automatic functions, the text file handling more useful
Platform: | Size: 27159 | Author: 孔繁星 | Hits:

[Other resourceStdString

Description: StdString:利用STL的basic_string类实现MFC的CString类全部功能。-StdString : the use of STL basic_string class achieve MFC redeem all of the features category.
Platform: | Size: 23968 | Author: 许式伟 | Hits:

[OS programGB2UTF8

Description: GB转UTF8 void ConvertGBKToUtf8(CString& strGBK)-GB switch UTF8 void ConvertGBKToUtf8 (redeem
Platform: | Size: 39599 | Author: tjg | Hits:

[Hook apicatwork0601

Description: 1、我想调用 SetWindowsHookEx 来设置 WH_CBT 钩子,但我了解到 MFC 也安装了这个钩子,也就是在一个线程中安装了两次 WH_CBT,这样做能行吗? 2、我正在将一个现有的 C++ 类库转换为托管扩展,以便能在 .NET 框架客户端使用它们。我的代码调用了 API 函数,这些函数需要当前运行模块的 HINSTANCE。我不想使用我的 DLL 的 HINSTANCE;我想让调用者提供 EXE 的 HINSTANCE,该 EXE 调用我的 DLL。我能将 HINSTANCE 声明为一个 IntPtr,但我的基于 .NET 的客户端如何让应用程序的 HINSTANCE 传递给我的函数?在 C# 中是如何做的? 3、我要如何将 MFC CString 转换为托管 C++ 中的 String?我有一个函数是这样的: int ErrMsg::ErrorMessage(CString& msg) const { msg.LoadString(m_nErrId) msg += _T(\"::Error\") return -1 }   我如何用托管 C++ 重写这个函数,并用 String 替换参数中的 CString?我不知道如何声明参数,如何处理 const,以及如何从资源文件中加载托管 String。我看了文档说 String 是不能被修改的,因为它们是不可变的,但我有想修改传递的字符串。 -one, I would like to call to set up WH_CBT SetWindowsHookEx hook, but I also understand that MFC installation of the hook, which is in a thread installed two WH_CBT. do exercise? Two, I was one of the existing C libraries into custody expansion, in order to be able.NET framework of the client to use them. I called the code API function, these functions need to run the current module HINSTANCE. I do not want to use my HINSTANCE DLL; I want to call to provide the HINSTANCE EXE, I called the EXE DLL. I can HINSTANCE statement for a IntPtr. but I based.NET client applications how the HINSTANCE passed to the function? In C# and how is it done? Three, I want to redeem MFC how to care for the conversion of C String? I have a function like this : int ErrMsg : : ErrorMessage (redeem
Platform: | Size: 101679 | Author: 阳广元 | Hits:

[Linux-Unixmystring

Description: 一个很好的string类,类似与Windows 下CString-a good string type, similar to redeem and Windows
Platform: | Size: 2203 | Author: 王可国 | Hits:

[GDI-Bitmapgraph_string_file

Description: Introducing the new and improved CGraph Classes!! CGraph was my attempt to produce a set of freeware graph classes. After several iterations of the classes, it became more and more difficult to maintain and support. 这是我在CGRAPH4的基础上和StringFile和CString类进行了整合形成的新的例子-Introducing the new and improved CGraph Cl asses! ! CGraph was my attempt to produce a set of freeware graph classes. After several iterati ons of the classes, it became more and more difficult to maintain an d support. this is my CGRAPH4 and on the basis of StringFile and CStr ing type of integration for the new examples
Platform: | Size: 828601 | Author: 罗成 | Hits:

[ADO-ODBC控制链接ODBC

Description: HICON m_hIcon _ConnectionPtr m_pCon //连接对象 _RecordsetPtr m_pRs //记录集对象 BOOL LoadDbSource(CString strSourceName,CString strSourceDb, CString strDescription) // Generated message map functions //{{AFX_MSG(CCodeCtrlOdbcDlg) virtual BOOL OnInitDialog() afx_msg void OnSysCommand(UINT nID, LPARAM lParam) afx_msg void OnPaint() afx_msg HCURSOR OnQueryDragIcon() //}}AFX_MSG DECLARE_MESSAGE_MAP()-HICON m_hIcon _ConnectionPtr m_pCon / / Link Object _RecordsetPtr m_pRs / / BOOL record set targets LoadDbSou rce (redeem strSourceName. redeem strSourceDb. redeem strDescription) / / Generated message map functions / / ((AFX_MSG (CCodeCtrlOdbcDlg ) virtual BOOL OnInitDialog () afx_msg void OnS ysCommand (UINT nID. LPARAM lParam) afx_msg void OnPaint () afx_msg HCURSOR OnQueryDragIcon () / /)) AFX_MSG DECLA RE_MESSAGE_MAP ()
Platform: | Size: 59558 | Author: 穆菲 | Hits:

[Windows Developdebugsrc

Description: 1、我想调用 SetWindowsHookEx 来设置 WH_CBT 钩子,但我了解到 MFC 也安装了这个钩子,也就是在一个线程中安装了两次 WH_CBT,这样做能行吗? 2、我正在将一个现有的 C++ 类库转换为托管扩展,以便能在 .NET 框架客户端使用它们。我的代码调用了 API 函数,这些函数需要当前运行模块的 HINSTANCE。我不想使用我的 DLL 的 HINSTANCE;我想让调用者提供 EXE 的 HINSTANCE,该 EXE 调用我的 DLL。我能将 HINSTANCE 声明为一个 IntPtr,但我的基于 .NET 的客户端如何让应用程序的 HINSTANCE 传递给我的函数?在 C# 中是如何做的? 3、我要如何将 MFC CString 转换为托管 C++ 中的 String?我有一个函数是这样的: int ErrMsg::ErrorMessage(CString& msg) const { msg.LoadString(m_nErrId) msg += _T(\"::Error\") return -1 }   我如何用托管 C++ 重写这个函数,并用 String 替换参数中的 CString?我不知道如何声明参数,如何处理 const,以及如何从资源文件中加载托管 String。我看了文档说 String 是不能被修改的,因为它们是不可变的,但我有想修改传递的字符串。-one, I would like to call to set up WH_CBT SetWindowsHookEx hook, but I also understand that MFC installation of the hook, which is in a thread installed two WH_CBT. do exercise? Two, I was one of the existing C libraries into custody expansion, in order to be able.NET framework of the client to use them. I called the code API function, these functions need to run the current module HINSTANCE. I do not want to use my HINSTANCE DLL; I want to call to provide the HINSTANCE EXE, I called the EXE DLL. I can HINSTANCE statement for a IntPtr. but I based.NET client applications how the HINSTANCE passed to the function? In C# and how is it done? Three, I want to redeem MFC how to care for the conversion of C String? I have a function like this : int ErrMsg : : ErrorMessage (redeem
Platform: | Size: 561890 | Author: toke | Hits:

[WinSock-NDISGetIpFromDNS

Description: 根据域名解析IP地址的函数 CString GetIpFromDNS(CString dns_ip) 如果解析失败,则原样返回域名-under the Domain Name IP address of the function redeem GetIpFromDNS (redeem dns_ip) If analytical failure, the return of the domain name intact
Platform: | Size: 2551 | Author: 钻井队 | Hits:

[OS programCCrack

Description: 实现COlevaiant与CString转换的类-achieve COlevaiant conversion and redeem the Class
Platform: | Size: 2273 | Author: 董永 | Hits:

[OpenGL programwjpcl

Description: DWORD dwFlags = OFN_FILEMUSTEXIST|OFN_ALLOWMULTISELECT|OFN_EXPLORER CString filelocate -DWORD dwFlags = OFN_FILEMUSTEXIST|OFN_ALLOWMULTISELECT|OFN_EXPLORER CString filelocate
Platform: | Size: 840 | Author: ldm | Hits:

[Windows Developstringsplit

Description: 在做程序时,经常需要把文本按固定的标志进行拆分,CString 类提供了一些基本的字符串操作,本文就是利用CString类的基本函数来实现文本串的自由拆分 ,-doing procedures, the need for regular text by the fixed signs split redeem category provides some basic string operations, redeem this paper is to use the basic functions to achieve the free text string separation
Platform: | Size: 12146 | Author: 邹波 | Hits:

[Windows DevelopSTL-12

Description: C++的一个类库,类似于CString的自我实现-of a Class C, similar to redeem the self-realization
Platform: | Size: 3738 | Author: 杨耀宇 | Hits:
« 1 2 3 4 5 67 8 9 10 11 ... 28 »

CodeBus www.codebus.net