Click here to Skip to main content
15,899,124 members
Home / Discussions / COM
   

COM

 
GeneralPrinting an HTML page without the print dialog Pin
ijcullen11-Apr-05 21:54
professionalijcullen11-Apr-05 21:54 
GeneralRe: Printing an HTML page without the print dialog Pin
Ed K19-Apr-05 11:04
Ed K19-Apr-05 11:04 
GeneralHandling COM events from VB for Applications Pin
Anonymous8-Apr-05 5:32
Anonymous8-Apr-05 5:32 
GeneralRe: Handling COM events from VB for Applications Pin
rwestgraham8-Apr-05 15:00
rwestgraham8-Apr-05 15:00 
QuestionHow to use non .NET DLLs in .NET environment? Pin
Khang Nguyen8-Apr-05 5:30
Khang Nguyen8-Apr-05 5:30 
AnswerRe: How to use non .NET DLLs in .NET environment? Pin
rwestgraham8-Apr-05 14:40
rwestgraham8-Apr-05 14:40 
GeneralRe: How to use non .NET DLLs in .NET environment? Pin
Anonymous9-Apr-05 10:40
Anonymous9-Apr-05 10:40 
GeneralWriting COM object for C++ and VB Pin
Anonymous6-Apr-05 1:07
Anonymous6-Apr-05 1:07 
Hello Smile | :)

I want to write my COM object so that a C++ program can use it and a VB program can use it also. When I build my COM object using the wizard I get the IDispatch interface which means I can access my COM object using automation. My COM object has methods all of which return either S_OK or S_FALSE depending on what happens during the method call. My C++ program can get the results of a method call to my COM object to find out what went wrong if an error occurred. My VB program cannot do this.

What is the best solution to this problem?

Is there anywhere a guide as to how best write COM objects in C++ that are as language independent as possible but especially C++ and VB?
GeneralRe: Writing COM object for C++ and VB Pin
rwestgraham6-Apr-05 9:15
rwestgraham6-Apr-05 9:15 
GeneralRe: Writing COM object for C++ and VB Pin
Anonymous8-Apr-05 4:27
Anonymous8-Apr-05 4:27 
GeneralRe: Writing COM object for C++ and VB Pin
rwestgraham8-Apr-05 10:40
rwestgraham8-Apr-05 10:40 
GeneralRe: Correction to the above Pin
rwestgraham8-Apr-05 11:47
rwestgraham8-Apr-05 11:47 
GeneralRe: Correction to the above Pin
Anonymous11-Apr-05 0:02
Anonymous11-Apr-05 0:02 
GeneralRe: Correction to the above Pin
rwestgraham11-Apr-05 9:53
rwestgraham11-Apr-05 9:53 
GeneralProblem using ATL Object in other ATL Server Pin
andreasf5-Apr-05 20:26
andreasf5-Apr-05 20:26 
GeneralIHTMLDocument2 mouse handler Pin
Kharfax5-Apr-05 2:07
Kharfax5-Apr-05 2:07 
GeneralOutlook object library and windows service.. Pin
Muhammad Irfan Azam4-Apr-05 19:41
Muhammad Irfan Azam4-Apr-05 19:41 
QuestionFlash ActiveX MFC Control. Secure? Pin
RobotIntestines4-Apr-05 19:00
RobotIntestines4-Apr-05 19:00 
QuestionDLL and EXE files? Pin
123dotnet4-Apr-05 18:45
123dotnet4-Apr-05 18:45 
Generallinking to office-help Pin
sampad_m4-Apr-05 7:55
sampad_m4-Apr-05 7:55 
GeneralRe: linking to office-help Pin
rwestgraham7-Apr-05 12:33
rwestgraham7-Apr-05 12:33 
GeneralRe: linking to office-help Pin
sampad_m13-Apr-05 23:19
sampad_m13-Apr-05 23:19 
GeneralControl the Systemtray Pin
Anonymous2-Apr-05 5:30
Anonymous2-Apr-05 5:30 
GeneralRe: Control the Systemtray Pin
Anonymous2-Apr-05 21:17
Anonymous2-Apr-05 21:17 
Questionhow to call a function like "HRESULT test([in]byte* aaa);" using VBScript Pin
samfromcn31-Mar-05 15:19
samfromcn31-Mar-05 15:19 

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.