|
The simplest way to transform an in-proc COM server into an out-proc COM server is creating a COM+ application. What are the possible drawbacks of doing it this way?
Started by sharptooth on
, 3 posts
by 3 people.
Answer Snippets (Read the full thread at stackoverflow):
Turning the question inside out, I guess your anti-self might ask, "Why are there options besides the COM+ Server for an out-of-proc COM server? What advantages do these other hosting options provide is in the administrative model....
|
|
A bit of an odd question and probably backwards from what most people want to do, but I'm trying to work around a legacy COM issue.
I have two components, both of which are actually .NET assemblies, but for historical reasons one is loading the other ...
Started by Tim Long on
, 3 posts
by 3 people.
Answer Snippets (Read the full thread at stackoverflow):
Assembly = Assembly.LoadFrom(assemblyPath); // Use it as a normal .NET assembly }
Hi Tim,
may I ask how exactly, you're using the one .Net assembly within the other, via COM? That's my very problem- VS.
|
|
Is it true that you cannot use COM Interop to expose COM properties? Everything has to be a method?
If this is not true, how do you do it?
Started by Jason on
, 3 posts
by 3 people.
Answer Snippets (Read the full thread at stackoverflow):
All managed types, methods, properties....
According to this page , you can expose methods, properties and fields of managed classes to COM consumers.
I understand your question to be asking about COM calling or using a .NET class .
Not true.
|
Ask your Facebook Friends
|
Is it possible to use an ActiveX/COM object from ColdFusion? If so, where's the documentation or samples for it?
(non ColdFusion programmer, asking on behalf of a ColdFusion programmer)
Started by Andrew Arnott on
, 3 posts
by 3 people.
Answer Snippets (Read the full thread at stackoverflow):
Check.
See: Integrating COM and CORBA Objects in CFML Applications
If you're worried about COM object both COM objects and .Net assemblies natively in ColdFusion both with excellent performance.
|
|
Our application uses the MapMaker class from Google collections, and we're getting the exception below, but only on OS X 10.4 using webstart. It works fine when launched from an app bundle, and on OS X 10.5 and Windows.
This has started happening since...
Started by Matt McHenry on
, 3 posts
by 3 people.
Answer Snippets (Read the full thread at stackoverflow):
I guess.
Project , rather than ask for help on SO, but I'm struggling to explain why exactly I think so.
|
|
I've been an admirer of Juval Lowy's teaching and guidance in .NET development for a number of years. He's also written one of my favorite books: Programming .NET Components.
However on a recent DotNet Rocks podcast (Jan 2010) in discussing WCF/COM and...
Started by Ash on
, 8 posts
by 8 people.
Answer Snippets (Read the full thread at stackoverflow):
I was under the assumption it is perfectly possible to write .NET CLI compliant C... .
He's merely telling us that they have used C++ and COM in the implementation of the runtime.
Not talking about the interaction of the COM and .NET worlds.
|
|
Is there any way for a consumer to enumerate all interfaces implemented by a given COM object?
Started by sharptooth on
, 4 posts
by 4 people.
Answer Snippets (Read the full thread at stackoverflow):
With a tool such as resource....
Many COM objects contain embedded typelibs in the resource section of the executable.
You may, as weismat says, inspect the TLB files.
Exports are DllGetClassObject, DllRegisterServer, etc (for DLL-hosted COM).
|
|
How to find available COM ports in my PC? I am using framework v1.1. Is it possible to find all COM ports? If possible, help me solve the problem.
Started by RV on
, 9 posts
by 9 people.
Answer Snippets (Read the full thread at stackoverflow):
From a VB6.0 installation (import into your .net project as a COM component from the add reference dialog box If InStr(1, sBuffer, Chr$(0) & "COM" & lIdx & Chr$(0), vbTextCompare) > 0 Then vRet(lCount) = "COM static bool PortExists....
|
|
Hello,
I'm new to COM. I started learning it. Frankly speaking, I hate it.
I'm neither clear about what it is? no why it exists.
Is this a programming methodology like OOP? Does programming languages must support it? (with some special keywords or something...
Started by claws on
, 6 posts
by 6 people.
Answer Snippets (Read the full thread at stackoverflow):
It is provably not language depenedent as there are many languages which support COM (C++,C
Communication between different languages....
COM at is core is a way of providing a data passing contract which is independent of any specific language.
|
|
For IE microsoft provides COM to access it programatically. Is there any function to access Firefox from our Program
Started by subbu on
, 3 posts
by 3 people.
Answer Snippets (Read the full thread at stackoverflow):
Are you asking for a way to have your program that isn't running in Firefox to be able....
(IWebBrowser/IWebBrowser2/...)
Of course Native XPCOM interfaces are a possibility for C++ programs .
Mozilla Active X Control has largely compatible interface.
|