Click here to Skip to main content
15,892,809 members
Home / Discussions / COM
   

COM

 
GeneralRemoving the type library from a DLL Pin
Shutter3-Jan-05 15:47
Shutter3-Jan-05 15:47 
GeneralRe: Removing the type library from a DLL Pin
FearlessBurner4-Jan-05 10:34
FearlessBurner4-Jan-05 10:34 
GeneralRe: Removing the type library from a DLL Pin
Shutter4-Jan-05 11:39
Shutter4-Jan-05 11:39 
GeneralRe: Removing the type library from a DLL Pin
ThatsAlok4-Jan-05 17:25
ThatsAlok4-Jan-05 17:25 
GeneralRe: Removing the type library from a DLL Pin
FearlessBurner5-Jan-05 6:20
FearlessBurner5-Jan-05 6:20 
GeneralRe: Removing the type library from a DLL Pin
ThatsAlok5-Jan-05 6:47
ThatsAlok5-Jan-05 6:47 
GeneralHelp!! VB6 .ocx in VB.NET.... Pin
Sylan3-Jan-05 8:38
Sylan3-Jan-05 8:38 
GeneralHRESULT and Borland C++ Builder Pin
Andrew Tomsen3-Jan-05 1:02
sussAndrew Tomsen3-Jan-05 1:02 
I am trying to write an Automation-Server with Borland C++ 6.0. The server has to run a model. The interface contains a method to actualize the state of the model. For this reason the method takes some values as parameters.
HRESULT actualize_model( [in] double value1, [in] double value2 );
There has no value to be to return. The only thing the client has to know is that the passed values has been sucessful processed. In other words the client must be sure that the method has been carried out.
The borland wizard that builds the com server encapsulates the method. The same if I write the client. I call Project->Import Type Library... and the wizard generates some code. All I can see is a Object which contains the following method without an HRESULT:
void actualize_model( double value1, double value2 );

Now my question: How is it possible for the client to recognise that the call has failed? I wonder why there is no exception thrown after a method call while the server is closed.

Andrew
GeneralRe: HRESULT and Borland C++ Builder Pin
Jörgen Sigvardsson3-Jan-05 8:35
Jörgen Sigvardsson3-Jan-05 8:35 
QuestionHow to pass ASP Checkbox values to ATLCOM Dll Pin
Srihari_81852-Jan-05 22:30
Srihari_81852-Jan-05 22:30 
Generalofstream not working in unmanaged code Pin
sprinkler30-Dec-04 14:11
sprinkler30-Dec-04 14:11 
GeneralExecute javascript through c++ Pin
fe328-Dec-04 6:44
fe328-Dec-04 6:44 
GeneralCreating class wrappers for ActiveX controls (mappointctrl.ocx) Pin
BlackDice28-Dec-04 6:42
BlackDice28-Dec-04 6:42 
Questionhow can I reg the DLL for print Function(with code) Pin
wangguangda27-Dec-04 17:16
wangguangda27-Dec-04 17:16 
GeneralEXE COM Servers and Apartments Pin
Lim Bio Liong25-Dec-04 15:51
Lim Bio Liong25-Dec-04 15:51 
GeneralRe: EXE COM Servers and Apartments Pin
Martin Koorts4-Jan-05 0:09
Martin Koorts4-Jan-05 0:09 
GeneralRe: EXE COM Servers and Apartments Pin
Lim Bio Liong6-Jan-05 20:49
Lim Bio Liong6-Jan-05 20:49 
GeneralActiveX/COM on J# Pin
Maverick23-Dec-04 12:54
Maverick23-Dec-04 12:54 
GeneralCOM Controls Pin
csharp623-Dec-04 7:22
csharp623-Dec-04 7:22 
GeneralSimple (hopefully) event question Pin
__makaveli__21-Dec-04 23:54
__makaveli__21-Dec-04 23:54 
GeneralRe: Simple (hopefully) event question Pin
ThatsAlok22-Dec-04 17:28
ThatsAlok22-Dec-04 17:28 
GeneralRe: Simple (hopefully) event question Pin
__makaveli__6-Jan-05 5:19
__makaveli__6-Jan-05 5:19 
GeneralRe: Simple (hopefully) event question Pin
ThatsAlok6-Jan-05 6:36
ThatsAlok6-Jan-05 6:36 
GeneralRe: Simple (hopefully) event question Pin
__makaveli__6-Jan-05 7:23
__makaveli__6-Jan-05 7:23 
GeneralE_INVALIDARG with EnvDTE::Commands::AddNamedCommand Pin
Franz Klein21-Dec-04 21:35
Franz Klein21-Dec-04 21:35 

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.