Groups | Blog | Home


Archived Months
June 2003
July 2003
August 2003
September 2003
October 2003
November 2003
December 2003
January 2004
February 2004
March 2004
April 2004
May 2004
June 2004
July 2004
August 2004
September 2004
October 2004
November 2004
December 2004
January 2005
February 2005
March 2005
April 2005
May 2005
June 2005
July 2005
August 2005
September 2005
October 2005
November 2005
December 2005
January 2006
February 2006
March 2006
April 2006
May 2006
June 2006
July 2006
August 2006
September 2006
October 2006
November 2006
December 2006
January 2007
February 2007
March 2007
April 2007
May 2007
June 2007
July 2007
August 2007
September 2007
October 2007
November 2007
December 2007
January 2008
February 2008
March 2008
April 2008
May 2008
June 2008
all groups > dotnet interop > august 2003 > threads for august 15 - 21, 2003

Filter by week: 1 2 3 4 5

Can't call .NET to .NET through COM+
Posted by steve at 8/21/2003 7:30:09 PM
I have .NET assemblies that are registred in COM+ as Server applications (own process). I can create and call them from C++ code with no problem. If I try to create them from .NET code, the COM+ application starts and the .NET assembly is loaded in the DLLHOST.EXE process space, but I ge...more >>


Cast __comObject?
Posted by Bogdan CIRLIG at 8/21/2003 3:56:54 PM
Hi, I built a Serviced Component in .Net and registered it as a COM+. Now, all [in] parameters declared as Object work just fine but the value I get inside the managed code is of type System.__comObject. From here, I'm stuck... I've searched on the Internet and I couldn't find nothing on how t...more >>

Native C++ Client To Call Managed C++ Web Service
Posted by Tim Rogers at 8/21/2003 12:25:04 PM
We've currently got a C++ client/server app that uses DCOM in order to make remote calls. We want to replace DCOM with a .NET Web Service. The server piece seems clear to me. I can write it using MC++ and then can call my native C++ server code from within the Web Service. What I am unsure ab...more >>

Re: ASP 3.0 + ServicedComponent COM method parameter type mismatch
Posted by Bogdan CIRLIG at 8/21/2003 9:25:48 AM
Hi all, Interesting thing happening with ASP 3.0. We are in process of migrating our old ASP 3.0 to ASPX and one of the stages is to replace the middle tier components. Now, I have created a simple COM from .Net by implementing the ServicedComponent. I defined a class inside to be used a in...more >>

Calling Windows API from C#
Posted by sonu at 8/21/2003 4:56:55 AM
Hi, I am calling "GetPrivateProfileString" function to retrieve some key/value from my ini file in C# code. I have used the DllImport Method to import the function from Kernel32.dll. For some reason, when i call this, it does not seem to work. In the same scenario , another API funct...more >>

COM+ with C# Client as well as C# ServicedComponent......
Posted by ideas2050 NO[at]SPAM math.net at 8/21/2003 4:13:41 AM
[SUMMARY]: This is general query seeking opinions about COM+ Development wherein Server [COM+ Components] is developed in C# [as ServicedComponent] and Client accessing that across machines is also C#. Wish to seek experienced words on issues of COM-.NET interop that is playing major decisi...more >>

volatile fields
Posted by brianos NO[at]SPAM hotmail.com at 8/21/2003 3:09:52 AM
I am struggling to understand why Volatile fields exist in C#. The documentation states that they ensure the required order of processing.. the example given by Microsoft is : using System; using System.Threading; class Test { public static int result; public static volatile b...more >>

structure with char[]
Posted by Stephen Richardson at 8/20/2003 3:31:48 PM
I have a C++ dll which returns a structure, the structure contains a char[21] variable, as shown below. struct MyCStruct { short iNumber; char Name[21]; }; I've declared a structure in C# as shown below [StructureLayout[LayoutKind.Sequential)] class MyCSharpStruct { ...more >>



nested structures and ref parameter
Posted by Nikhil Patel at 8/20/2003 2:54:15 PM
Hi all, I am trying to make an API call that uses following two structures: <StructLayout(LayoutKind.Explicit)> Private Structure SECURITY_QUALITY_OF_SERVICE <FieldOffset(0)> Dim Length As Integer <FieldOffset(4)> Dim Impersonationlevel As Short <FieldOffset(6)> Dim ContextTrackingMo...more >>

vb 6 to vb dot net
Posted by melbin NO[at]SPAM achayans.com at 8/20/2003 10:06:54 AM
Hi, I am having a VB6 application for Accounting. What advantage i can say if i convert into VB dot net ? why people convert vb6 application to vb dot net ? replyy paul...more >>

Marshal.PtrToStructure Returns Garbage
Posted by Charles Parker at 8/20/2003 9:05:59 AM
I have a COM object that allocates and passes back a pointer to an array of DATA_MAP structures. A test app written in C++ work correctly however a C# ..NET app returns garbage. In .NET the managed structure is defined as: [StructLayout(LayoutKind.Sequential)] public struct DATA_MAP { [M...more >>

.NET interop with VB5
Posted by bears at 8/19/2003 3:51:08 PM
Hi, Anyone knows if there are any potential errors/harms if VB5 Active EXE interop with .NET DLL? Is .NET supposed to only to interop with VB6? Thanks,...more >>

CreateObject() function and Process ID
Posted by Cliff Spielman at 8/18/2003 10:21:36 PM
Does anybody know how to determine the Process ID associated with the resulting COM object? For example, suppose I use CreateObject to launch an instance of MS Word. How can I determine the Process ID of the resulting MS Word instance? objApp = CreateObject("Word.Application) ...more >>

How do I call a COM method from C# that expects a VT_BOOL
Posted by Fred Zolar at 8/18/2003 1:16:40 PM
How do I call a COM method that expects a VT_BOOL from C# ? (Scroll to the bottom to see my failed C# attempt to call.) // Declaration of interface for COM object [ComImport(), Guid("b722bccb-4e68-101b-a2bc-00aa00404770"), InterfaceType(ComInterfaceType.InterfaceIsIUnknown)] public interfac...more >>

MDI child forms
Posted by XingZheng at 8/18/2003 9:52:46 AM
Hi I want to create MDI child forms from hWnd of Dialog in Visual C++. Could you tell me how to write it. XingZheng ...more >>

Benefits of CLR 1.1 for hosting WebBrowser over 1.0sp2 ?
Posted by JohnDoe650 NO[at]SPAM hotmail.com at 8/18/2003 1:24:30 AM
Hi, I'm starting a new application that needs to host the WebBrowser control, I just wondered if there is any benefit in using version 1.1 of the framework over 1.0sp2. Any ideas about COM interop being improved, better MSHTML/WebBrowser integration into the runtime, stability improvements ...more >>

create c# COM Component and call it from Visual basic 6.0
Posted by jehle NO[at]SPAM centralnet.ch at 8/16/2003 6:00:01 AM
I need to create an COM componet in c#.net. First I made all steps from the Knowledge Base Article 815808 "How To: Install an Assembly into the Global Assembly Cashe in Visual C# .NET" I placed the GACDemo.dll file drag and drop into the \%SystemRoot%\Assembly\ path After that I register...more >>

Config file setting in COM
Posted by Mike Hale at 8/15/2003 10:59:17 AM
I have a .Net component that I need to call from a VB6 client. I have "Register for COM Interop" checked in Project Properties...Configuration Properties... Build. The problem is that the .net component uses a setting in a congfig file, which fails when being called from the VB6 client. (I have ...more >>


DevelopmentNow Blog