Click here to Skip to main content
15,895,011 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Problem in messages scheduling using timers Pin
Prakash Nadar8-Apr-04 6:36
Prakash Nadar8-Apr-04 6:36 
GeneralFor SSL tunneling wt is Connect command syntax for connecting to HTTP Proxy server Pin
Anonymous8-Apr-04 1:31
Anonymous8-Apr-04 1:31 
GeneralRe: For SSL tunneling wt is Connect command syntax for connecting to HTTP Proxy server Pin
valikac8-Apr-04 9:02
valikac8-Apr-04 9:02 
QuestionHow to save CDC content to a Bitmap file Pin
JHAKAS8-Apr-04 1:14
JHAKAS8-Apr-04 1:14 
GeneralDesktop Context Menu Pin
/P/8-Apr-04 1:09
suss/P/8-Apr-04 1:09 
GeneralRe: Desktop Context Menu Pin
avenger_sb258-Apr-04 12:25
avenger_sb258-Apr-04 12:25 
GeneralRe: Desktop Context Menu Pin
8-Apr-04 15:26
suss8-Apr-04 15:26 
GeneralInprocess object handler for Ms-Office Pin
anshumanshinde8-Apr-04 0:55
anshumanshinde8-Apr-04 0:55 
Hi!,

I want to create a read-only view of excel,word or powerpoint file using the ole techonology.
I use the default object handler provided in ole32.dll
I dont know what steps to follow after creating the object using:

hr=CoCreateInstance(clsid,NULL,CLSCTX_INPROC_HANDLER,
IID_IUnknown,(PVOID*)&pUkwn);

the object handler basically implements IDataObject,IOleCache and IViewObject.
IViewObject::Draw will draw on the specified device.
but before that I want to pass data to the object.
which interface shall I use?

thanks
Anshuman





GeneralFatal error C1010 Pin
roadragedave8-Apr-04 0:52
roadragedave8-Apr-04 0:52 
GeneralRe: Fatal error C1010 Pin
toxcct8-Apr-04 1:08
toxcct8-Apr-04 1:08 
GeneralRe: Fatal error C1010 Pin
Diddy8-Apr-04 1:35
Diddy8-Apr-04 1:35 
GeneralRe: Fatal error C1010 Pin
Mike Beckerleg8-Apr-04 1:40
Mike Beckerleg8-Apr-04 1:40 
GeneralRe: Fatal error C1010 Pin
Michael Dunn8-Apr-04 4:31
sitebuilderMichael Dunn8-Apr-04 4:31 
QuestionWhy is it bad to use a macro function? Pin
-Dy8-Apr-04 0:14
-Dy8-Apr-04 0:14 
AnswerRe: Why is it bad to use a macro function? Pin
toxcct8-Apr-04 0:25
toxcct8-Apr-04 0:25 
GeneralRe: Why is it bad to use a macro function? Pin
Ravi Bhavnani8-Apr-04 3:52
professionalRavi Bhavnani8-Apr-04 3:52 
GeneralRe: Why is it bad to use a macro function? Pin
toxcct8-Apr-04 4:09
toxcct8-Apr-04 4:09 
AnswerRe: Why is it bad to use a macro function? Pin
Maximilien8-Apr-04 0:47
Maximilien8-Apr-04 0:47 
AnswerRe: Why is it bad to use a macro function? Pin
Antony M Kancidrowski8-Apr-04 2:07
Antony M Kancidrowski8-Apr-04 2:07 
GeneralRe: Why is it bad to use a macro function? Pin
toxcct8-Apr-04 2:08
toxcct8-Apr-04 2:08 
AnswerRe: Why is it bad to use a macro function? Pin
Tim Smith8-Apr-04 4:17
Tim Smith8-Apr-04 4:17 
AnswerRe: Why is it bad to use a macro function? Pin
Nemanja Trifunovic8-Apr-04 5:15
Nemanja Trifunovic8-Apr-04 5:15 
AnswerRe: Why is it bad to use a macro function? Pin
John R. Shaw8-Apr-04 8:26
John R. Shaw8-Apr-04 8:26 
GeneralApiHook Pin
uqtur7-Apr-04 23:55
uqtur7-Apr-04 23:55 
GeneralMicrosoft Access Help Pin
Anonymous7-Apr-04 23:27
Anonymous7-Apr-04 23:27 

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.