Click here to Skip to main content
16,011,870 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: simple busy window Pin
NikoTanghe15-Mar-02 1:31
NikoTanghe15-Mar-02 1:31 
GeneralTo use RichText object classes Pin
14-Mar-02 22:55
suss14-Mar-02 22:55 
GeneralRe: To use RichText object classes Pin
Bill Wilson15-Mar-02 10:49
Bill Wilson15-Mar-02 10:49 
GeneralMtgdi Example Doesnt compile Pin
Agnihothra14-Mar-02 22:35
Agnihothra14-Mar-02 22:35 
GeneralRe: Mtgdi Example Doesnt compile Pin
Christian Graus14-Mar-02 23:24
protectorChristian Graus14-Mar-02 23:24 
GeneralAnimation Pin
Rickard Andersson2014-Mar-02 21:19
Rickard Andersson2014-Mar-02 21:19 
GeneralRe: Animation Pin
Christian Graus14-Mar-02 21:36
protectorChristian Graus14-Mar-02 21:36 
GeneralWhether i need attach one LPDISPATCH to initialize it! Pin
Davidlou14-Mar-02 19:54
Davidlou14-Mar-02 19:54 
I extracted the system32\vbscript.dll to get the type library(named RegExp.tlb). Then I add the new classes from this tlb to my project! Then I want to new one class of them named IRegExp(derived from COleDispatchDriver), but i don't know whether i need to attach the LPDISPATCH to this instance and how can i do! When i didn't attached it, that is called its default constructor, and run it, I can't not execute it normally! This program is too emengent, so i need ur warmhearted help in time!

[ccode]
void CInetSessionDlg::ParsePage(CString szPattern, CString szContent)
{
//m_regExp's declaration is on other place link this: IRegExp m_regExp;
//The class IMatchCollection and IMatch are both got from the tlb
IMatchCollection * temp;
m_regExp.SetIgnoreCase(TRUE);
m_regExp.SetPattern(szPattern);
if(m_regExp.Test(szContent))
{
temp=new IMatchCollection(m_regExp.Execute(szContent));
for(long i = 0; i < 3/*matches.GetCount()*/; i++)
{
//IMatch match = matches.GetItem(i);
IMatch match = temp->GetItem(i);
CString strLink = match.GetValue();
m_cbHref.AddString(strLink);
}
}
}
[/ccode]

Thanks u very much!



Sincerely, Davidlou
davidlou68@hotmail.com
GeneralIcon Tools Pin
lszyn14-Mar-02 19:44
lszyn14-Mar-02 19:44 
GeneralRe: Icon Tools Pin
Nish Nishant14-Mar-02 20:29
sitebuilderNish Nishant14-Mar-02 20:29 
GeneralRe: Icon Tools Pin
Christian Graus14-Mar-02 20:39
protectorChristian Graus14-Mar-02 20:39 
GeneralGetting hwnd of window's control... Pin
Xenos14-Mar-02 16:52
Xenos14-Mar-02 16:52 
GeneralRe: Getting hwnd of window's control... Pin
Derek Waters14-Mar-02 17:41
Derek Waters14-Mar-02 17:41 
Generalmy group of questions... "truth table,%,Binary, more" Pin
SilverShalkin14-Mar-02 15:25
SilverShalkin14-Mar-02 15:25 
GeneralRe: my group of questions... "truth table,%,Binary, more" Pin
Christian Graus14-Mar-02 15:36
protectorChristian Graus14-Mar-02 15:36 
GeneralRe: my group of questions... "truth table,%,Binary, more" Pin
Bill Wilson15-Mar-02 10:51
Bill Wilson15-Mar-02 10:51 
GeneralRe: my group of questions... "truth table,%,Binary, more" Pin
David Wengier14-Mar-02 15:41
David Wengier14-Mar-02 15:41 
GeneralRe: my group of questions... "truth table,%,Binary, more" Pin
Jon Sagara14-Mar-02 15:54
Jon Sagara14-Mar-02 15:54 
GeneralRe: my group of questions... "truth table,%,Binary, more" Pin
Christian Graus14-Mar-02 16:08
protectorChristian Graus14-Mar-02 16:08 
GeneralRe: my group of questions... "truth table,%,Binary, more" Pin
SilverShalkin14-Mar-02 16:26
SilverShalkin14-Mar-02 16:26 
GeneralRe: my group of questions... "truth table,%,Binary, more" Pin
Christian Graus14-Mar-02 16:35
protectorChristian Graus14-Mar-02 16:35 
GeneralRe: my group of questions... "truth table,%,Binary, more" Pin
Jon Sagara14-Mar-02 16:50
Jon Sagara14-Mar-02 16:50 
GeneralRe: my group of questions... "truth table,%,Binary, more" Pin
SilverShalkin14-Mar-02 17:19
SilverShalkin14-Mar-02 17:19 
GeneralRe: my group of questions... "truth table,%,Binary, more" Pin
Jon Sagara14-Mar-02 17:32
Jon Sagara14-Mar-02 17:32 
GeneralThresholding a bitmap Pin
moredip14-Mar-02 14:24
moredip14-Mar-02 14:24 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.