COM/.NET custom marshaling of array of value-type
Thu, 5 Jun 2008 13:58:09 -0700 (PDT)
Hi. I hope this is the correct group for a question about COM/.NET
marshaling.
I'm trying to write the .NET signature for the method IFilter:Init at
http://msdn.microsoft.com/en-us/library/ms690965(VS.85).aspx
SCODE Init(
ULONG grfFlags,
ULONG cAttributes,
FULLPROPSPEC const * aAttributes,
ULONG ...
|
COM client identification
Thu, 5 Jun 2008 06:32:52 -0700 (PDT)
Earlier I have build a single COM server (MFC) running as
CLSCTX_LOCAL_SERVER hosting a VoIP stack. a .NET program (C#) used to
inter-operate with it. Now requirement is that multiple such clients
(which is a reason of having a COM stand alone server other than
separating the real-time traffic from .NET) will ca ...
|
calling a WCF callback from COM exe
Tue, 3 Jun 2008 23:24:28 -0700
Hi everyone
I made my WCF service dll exposed to COM.
I call a function in WCF from an COM exe, in that function I get the
callback chanel to call a WCF callback function but I get an exception.
COM exe and WCF dll and host are all in one machine but the client is in
another machine with a private networ ...
|
Shut Down/Standby Functions
Mon, 2 Jun 2008 03:26:01 -0700
Help. Help - My Shut Fown function now inoperable. My Standby function also
unstable. Could anybody help me to reinstate please.....?
--
Victor ...
|
Heap corruption error with reg-free COM component written in .NET
Fri, 30 May 2008 11:15:15 -0700 (PDT)
Hi,
I have a .NET COM component that I am trying to use with a C++ com
client through Reg-Free COM. Everytime I run this in VS2005 debug
mode, I get an error: "Windows has triggered a breakpoint in
SampleClient.exe. This may be due to a corruption of the heap".
The stacktrace is as follows:
ntdll.dll!DbgBrea ...
|
Rebuilding the XP icon cache in WinXP
Thu, 29 May 2008 15:48:01 -0700 (PDT)
Hi,
I'm trying to set customized shell icons. For that reason I created
some keys in the registry unter
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion
\Explorer\Shell Icons
with the index of this icon in shell32.dll and the path and icon's
file index as value. So far so good. What I now ...
|
How to go to a specific page in a Word doc?
Thu, 29 May 2008 11:29:02 -0700
Hello, friends,
In our c#.net 2005 application, we use Interop.Word to open a Word .doc file
like the follows:
Microsoft.Office.Interop.Word.Document doc = wordApp.Documents.Open(ref
fileName, ref missing, ref readOnly, ref missing, ref missing, ref missing,
ref missing, ref missing, ref missing, ref mis ...
|
|
|
What is compliement of ReleaseComObject?
Thu, 29 May 2008 10:40:01 -0700
After acquiring a COM object, I need to call Marshal.ReleaseComObject to
perform a release on the runtime callable wrapper.
I would like my code to do AddRef/Release (just like unmanaged code) to
control the lifetime of the object in question.
What API should I call do perform on AddRef on the runtime call ...
|
Re: .NET object w/COM wrapper in MSAccess
Wed, 28 May 2008 14:14:17 +0000 (UTC)
Hi MacDermott,
Glad to hear that you got it working.
Basically the warning that it gives you due to non-strong assembly, you can
ignore that warning. It doesnt mean any harm to your software/system. When
you use setup what are the registry keys those are different? I think MSI
generates some more registr ...
|
Regasm fails on Vista
Wed, 28 May 2008 11:48:14 +0200
Hi
I have developed a COM wrapped .Net component.
On XP I can register it with Regasm.exe and everything is fine.
On Vista I get
RegAsm : error RA0000 : External component has thrown an exception
I have fiddled around with my component, and by pure luck, I found that
if I remove a certain attribute:
...
|