Click here to Skip to main content
16,010,351 members
Home / Discussions / COM
   

COM

 
GeneralRe: receiving a Boolean type in VB Pin
Anand Amirineni15-Mar-02 9:54
Anand Amirineni15-Mar-02 9:54 
GeneralImplement onIdle Pin
dejan.n15-Mar-02 3:12
dejan.n15-Mar-02 3:12 
GeneralRe: Implement onIdle Pin
Prem Kumar15-Mar-02 8:13
Prem Kumar15-Mar-02 8:13 
GeneralPassing a BSTR to VB Pin
Jerome Conus14-Mar-02 21:37
Jerome Conus14-Mar-02 21:37 
GeneralRe: Passing a BSTR to VB Pin
Mazdak14-Mar-02 22:04
Mazdak14-Mar-02 22:04 
GeneralRe: Passing a BSTR to VB Pin
Joao Vaz14-Mar-02 23:45
Joao Vaz14-Mar-02 23:45 
GeneralRe: Passing a BSTR to VB Pin
Jerome Conus15-Mar-02 5:27
Jerome Conus15-Mar-02 5:27 
GeneralWhether i need attach one LPDISPATCH to initialize it! Pin
Davidlou14-Mar-02 19:53
Davidlou14-Mar-02 19:53 
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
QuestionPassing/receiving byte-arrays ? Pin
StefanM14-Mar-02 3:22
StefanM14-Mar-02 3:22 
AnswerRe: Passing/receiving byte-arrays ? Pin
pba_14-Mar-02 6:20
pba_14-Mar-02 6:20 
AnswerRe: Passing/receiving byte-arrays ? Pin
Joao Vaz14-Mar-02 6:29
Joao Vaz14-Mar-02 6:29 
AnswerRe: Passing/receiving byte-arrays ? Pin
Rashid Thadha15-Mar-02 5:19
Rashid Thadha15-Mar-02 5:19 
GeneralHlp with CoCreateInstance => Pin
13-Mar-02 20:28
suss13-Mar-02 20:28 
GeneralRe: Hlp with CoCreateInstance => Pin
Deepak Khajuria13-Mar-02 23:14
Deepak Khajuria13-Mar-02 23:14 
GeneralRe: Hlp with CoCreateInstance => Pin
14-Mar-02 2:42
suss14-Mar-02 2:42 
GeneralCreateProcessAsUser : error 1314 Pin
David Dal Zot13-Mar-02 4:00
David Dal Zot13-Mar-02 4:00 
GeneralRe: CreateProcessAsUser : error 1314 Pin
pba_14-Mar-02 5:51
pba_14-Mar-02 5:51 
GeneralRe: CreateProcessAsUser : error 1314 Pin
David Dal Zot14-Mar-02 7:21
David Dal Zot14-Mar-02 7:21 
GeneralRe: CreateProcessAsUser : error 1314 Pin
pba_15-Mar-02 8:07
pba_15-Mar-02 8:07 
GeneralException handling when receiving BREAKsignals.. Pin
dejan.n13-Mar-02 0:52
dejan.n13-Mar-02 0:52 
GeneralSmartPointers and COM+ Pin
Ryszard Krakowiak12-Mar-02 1:13
Ryszard Krakowiak12-Mar-02 1:13 
GeneralRe: SmartPointers and COM+ Pin
pba_14-Mar-02 5:43
pba_14-Mar-02 5:43 
Generaltype library not seen in OLE COM Object Viewer Pin
11-Mar-02 19:15
suss11-Mar-02 19:15 
GeneralRe: type library not seen in OLE COM Object Viewer Pin
pba_14-Mar-02 5:22
pba_14-Mar-02 5:22 
GeneralGUID in COM Pin
Leesen11-Mar-02 14:30
Leesen11-Mar-02 14:30 

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.