all groups > dotnet interop > august 2007 > threads for august 15 - 21, 2007
Filter by week: 1 2 3 4 5
How to unload an assembly from OCX?
Posted by Jim at 8/20/2007 12:57:06 PM
I have an OCX which interop a C# assembly. C# assembly needs to callback OCX in a method by parameter pointing to this OCX.
It works in the first time load. If I reload OCX, OnInitDialog() won't be called and app is hanged on.
If I don't pass this OCX as parameter to the assembly, second time relo... more >>
Newbie to COM Interop
Posted by Chris Davoli at 8/20/2007 12:46:00 PM
I'm trying to just learn how to call a COM component from a .Net application.
I am using visual studio 2005. Is there some sort of step by step tutorial or
book or something that somone can suggest. I'm real confused on how to do
this and just googleing does not get me a real good clear answer... more >>
c# x64 COM Add References Problem
Posted by Pablo Sullivan at 8/20/2007 6:56:02 AM
I have a problem building a c# project that references a COM object built for
x64. The problem is that the x64 DLL is missing under the "Add References"
COM tab for the C# project. Also when I attempt to add a reference via the
BROWSE tab, an error message is displayed saying “Please make ... more >>
Unmanaged Code to CCW/C# problem
Posted by GlennAnthonyB at 8/18/2007 1:18:43 PM
Hi
I have a C# DLL which has a method which accepts a string argument. This is
registered for COM. The resulting .tlb is then referenced in a native C++
DLL. I then wrap the method in a C++ method and add some trace code. The
wrapped C# method also includes some trace code. When I atte... more >>
Com and .Net Interoperability problem
Posted by Sundar at 8/17/2007 4:48:20 AM
Hi I faced this Interoperability problem if any one have answers let
me know about it.
I developed the COM interface in VC++ as follows :
interface IModuleConfig
{
HRESULT SetValue(GUID guid, VARIANT* var);
}
class CModuleConfig : public IModuleConfig
{
};
HRESULT CModule... more >>
What is DispId used for?
Posted by Lidström at 8/16/2007 8:22:33 PM
Hello!
I've read on MSDN [1] that it is necessary to mark methods and properties
with DispId in order to expose them to COM. But that doesn't seem
necessary. I've created interfaces and subclasses in C# and I have no
problem using them from C++. So what is DispId really used for?
[1] Exampl... more >>
Office XP PIAs
Posted by TC at 8/15/2007 8:22:07 PM
Hey All,
I downloaded and installed the Office XP PIAs but when I reference them from
within VS2005, I get a yellow explanation point with no information beside
the reference.
Any ideas?
Thanks,
TC
... more >>
Cannot call simple WinApi function
Posted by Carl at 8/15/2007 1:50:55 PM
Hi,
I've got stuck on calling the following WinApi function. I've tried lots of
different datatypes and read alot about which to use in the documentations,
but everything fails. Does anyone know how to do it?
The Call:
StringBuilder sb = new StringBuilder(255);
IntPtr handle = new IntP... more >>
Don't see what you're looking for? Search DevelopmentNow.com.
Link errors 2028 and 2019 when compiling with CLR
Posted by David Wright at 8/15/2007 12:00:00 AM
Can anyone help me?
With the CLR switch off my projects compile and link fine but with it on
some classes defined in one dll are not linkable to another dll? I have
project dependencies set as well between the projects. Is there something
more to do? It is as though the classes are not bein... more >>
|