Click here to Skip to main content
15,905,420 members
Home / Discussions / COM
   

COM

 
GeneralRe: Unsigned Long and Short Values -- HELP ME Pin
Nemanja Trifunovic7-Sep-01 7:49
Nemanja Trifunovic7-Sep-01 7:49 
QuestionHow to find the users that logged on one domain? Pin
Sandos Ganzales6-Sep-01 16:30
Sandos Ganzales6-Sep-01 16:30 
GeneralAdd to project Pin
6-Sep-01 5:43
suss6-Sep-01 5:43 
QuestionUsing IWebBrowser2 with an already existing instance of IE??? Pin
LukeV6-Sep-01 5:14
LukeV6-Sep-01 5:14 
GeneralProperty Storage(Persistance)(need urgent) Pin
Pankaj Mongia6-Sep-01 0:54
Pankaj Mongia6-Sep-01 0:54 
Question.Net not compatible to Studio6? Pin
Sandos Ganzales4-Sep-01 19:47
Sandos Ganzales4-Sep-01 19:47 
QuestionHow to return Custom Error Messages using HResult?? Pin
3-Sep-01 0:02
suss3-Sep-01 0:02 
AnswerRe: How to return Custom Error Messages using HResult?? Pin
Rashid Thadha3-Sep-01 0:27
Rashid Thadha3-Sep-01 0:27 
you need to support ISupportErrorInfo in your com object (usually selected through the wizard when creating the COM project)

then call Error from your Method.

return Error(_bstr_t("Bespoke Error").copy(), IID_IObj);


This will give you a bespoke error description.

It has been suggested that you should not generate your own HRESULT, even though you can do it as M$ may use the value you generated in the future.


Cool | :cool:
GeneralOLE Embedding & Word - Saving The Document Pin
AJ1232-Sep-01 5:01
AJ1232-Sep-01 5:01 
Questionpossible for COM events in VC? Pin
Tim Rymer30-Aug-01 4:53
Tim Rymer30-Aug-01 4:53 
AnswerRe: possible for COM events in VC? Pin
3-Sep-01 21:26
suss3-Sep-01 21:26 
GeneralMarking Active X as Safe Pin
Jared Allen29-Aug-01 16:50
Jared Allen29-Aug-01 16:50 
Generalconnectionpoints and threads Pin
29-Aug-01 4:00
suss29-Aug-01 4:00 
GeneralRe: connectionpoints and threads Pin
Rashid Thadha30-Aug-01 12:20
Rashid Thadha30-Aug-01 12:20 
GeneralWhat's wrong with the convertion?:ostringstream->CComVariant Pin
29-Aug-01 3:57
suss29-Aug-01 3:57 
GeneralCannot access classview information file Pin
29-Aug-01 2:20
suss29-Aug-01 2:20 
GeneralRe: Cannot access classview information file Pin
Adrian Metcalfe29-Aug-01 2:53
Adrian Metcalfe29-Aug-01 2:53 
Generalproble in releasing the pointer Pin
pathi29-Aug-01 2:12
pathi29-Aug-01 2:12 
GeneralRe: proble in releasing the pointer Pin
Not Active29-Aug-01 2:59
mentorNot Active29-Aug-01 2:59 
QuestionHow to use MFC classes in ATL(Service) Project? Pin
zhaoyong28-Aug-01 23:20
zhaoyong28-Aug-01 23:20 
AnswerRe: How to use MFC classes in ATL(Service) Project? Pin
Not Active29-Aug-01 3:05
mentorNot Active29-Aug-01 3:05 
AnswerRe: How to use MFC classes in ATL(Service) Project? Pin
Bill Wilson14-Sep-01 14:22
Bill Wilson14-Sep-01 14:22 
GeneralCalling a VB COM+ DLL from a C client Pin
28-Aug-01 22:18
suss28-Aug-01 22:18 
GeneralStrange problem with a NT Service registration Pin
28-Aug-01 22:10
suss28-Aug-01 22:10 
GeneralActive X distribution for web content Pin
Jared Allen28-Aug-01 18:22
Jared Allen28-Aug-01 18:22 

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.