Click here to Skip to main content
15,899,935 members
Home / Discussions / ATL / WTL / STL
   

ATL / WTL / STL

 
GeneralRe: Single Application Instance Pin
retro_coder16-Jun-05 21:47
retro_coder16-Jun-05 21:47 
GeneralRe: Single Application Instance Pin
Jack Puppy17-Jun-05 2:13
Jack Puppy17-Jun-05 2:13 
GeneralRe: Single Application Instance Pin
retro_coder19-Jun-05 15:21
retro_coder19-Jun-05 15:21 
Generalgeneric file streams Pin
RChin15-Jun-05 0:54
RChin15-Jun-05 0:54 
GeneralRe: generic file streams Pin
Joaquín M López Muñoz15-Jun-05 11:00
Joaquín M López Muñoz15-Jun-05 11:00 
GeneralRe: generic file streams Pin
rhdunn22-Jun-05 10:38
rhdunn22-Jun-05 10:38 
GeneralCreating a COM instance Pin
dittygrail13-Jun-05 18:49
dittygrail13-Jun-05 18:49 
GeneralRe: Creating a COM instance Pin
sherton14-Jun-05 15:56
sherton14-Jun-05 15:56 
Rose | [Rose]
I hope it will work..
CLSID clsid;
HRESULT hr;
here u possed application with interface...
hr=CLSIDFromProgID (L"Word.Application", &clsid);
if (hr!=S_OK)
AfxMessageBox(":failed to get the clsid");
// Create an instance of the Word application and obtain the pointer
IUnknown* pUnk;
IDispatch* pDispApp=NULL;
hr = ::CoCreateInstance( clsid,
NULL,
CLSCTX_SERVER,
IID_IUnknown,
(void**) &pUnk);

// Query IUnknown to retrieve a pointer to the IDispatch interface
hr = pUnk->QueryInterface(IID_IDispatch, (void**)&pDispApp);
ASSERT(pDispApp);


Thanks,
Anji.Manchikanti

GeneralRe: Creating a COM instance Pin
reachjsk24-Jun-05 0:51
reachjsk24-Jun-05 0:51 
GeneralCom object Pin
dittygrail13-Jun-05 18:46
dittygrail13-Jun-05 18:46 
GeneralATL Maps Pin
Anonymous12-Jun-05 23:38
Anonymous12-Jun-05 23:38 
GeneralRe: ATL Maps Pin
Kevin McFarlane21-Jun-05 9:07
Kevin McFarlane21-Jun-05 9:07 
Generalold db provider in vc++ by ATL Pin
sherton10-Jun-05 22:12
sherton10-Jun-05 22:12 
Generalproblem with CRichEditCtrl Pin
nadilie9-Jun-05 8:51
nadilie9-Jun-05 8:51 
General.NET porting Pin
Anushan Tennakoon9-Jun-05 2:20
Anushan Tennakoon9-Jun-05 2:20 
GeneralRe: .NET porting Pin
Christian Graus14-Jun-05 16:06
protectorChristian Graus14-Jun-05 16:06 
GeneralTrying to change http header by BHO Pin
Member 19838628-Jun-05 6:14
Member 19838628-Jun-05 6:14 
GeneralNeed Help .... Tree Control Pin
7-Jun-05 6:11
suss7-Jun-05 6:11 
GeneralRe: Need Help .... Tree Control Pin
Michael Dunn9-Jun-05 6:59
sitebuilderMichael Dunn9-Jun-05 6:59 
Generalsync. probelm for ATL Pin
Prakash Sonani7-Jun-05 5:19
Prakash Sonani7-Jun-05 5:19 
Generalsync. probelm for ATL Pin
Prakash Sonani7-Jun-05 5:18
Prakash Sonani7-Jun-05 5:18 
GeneralRe: sync. probelm for ATL Pin
Anonymous11-Jun-05 11:50
Anonymous11-Jun-05 11:50 
GeneralSTDMETHOD Pin
Anand for every one5-Jun-05 21:58
Anand for every one5-Jun-05 21:58 
GeneralRe: STDMETHOD Pin
Anonymous5-Jun-05 22:17
Anonymous5-Jun-05 22:17 
GeneralRe: STDMETHOD Pin
Michael Dunn6-Jun-05 0:49
sitebuilderMichael Dunn6-Jun-05 0:49 

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.