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 > january 2005 > threads for january 29 - 31, 2005

Filter by week: 1 2 3 4 5

COMException passing args by reference, fix causes another problem
Posted by mdsousa at 1/31/2005 6:41:01 PM
I converted an ActiveX control from VB6.0 to a Windows form in .NET for a Visual Basic program. There is a bug in the 1.1 framework that causes a COMException when you pass arguments by reference to functions of this object (http://support.microsoft.com/default.aspx?scid=kb;en-us;815633). ...more >>


Mapping with CreateProcess
Posted by Ed McAndrew at 1/31/2005 2:49:11 PM
I'm trying to map a network drive share in c# with: CreateProcess("net", @"use " + LocDrive + " " + Quotes + userShare + Quotes + " " + userPass + " /USER:" + userName, out exitCode, out output); Everything is right, and it works perfectly when the compiled executable is launched manually...more >>

Launching the .NET environment
Posted by Pete Davis at 1/31/2005 2:16:37 PM
First of all, I'm going to try to avoid going into a complete description of what we're trying to do as it would take a great deal of text to explain the reasoning and the actualy design. Essentially, we are going to have a launcher application in unmanaged C++ that's going to launch our .NET ...more >>

QueryInterface for interface ITypeInfo failed
Posted by Marc Tardiff at 1/31/2005 11:53:01 AM
We recieved the following error stack from an ASP.NET page written in VB.NET 1.1. I can't find a reference to this error, what could be the cause? We are calling into a VB6 object at this point of the process. Exception: QueryInterface for interface ITypeInfo failed. Stack: at Mic...more >>

COM+ Interop
Posted by SunnyM at 1/31/2005 11:03:04 AM
Hi, I am importing a COM object to my C# project. I use the 'add reference' option from the Solution Explorer. I have 10 enumeration in the COM IDL file and each one has its unique GUID. But in the C# project with I reference the object, it only shows 8 of them. Is there anything I am missing ...more >>

c# and delphi
Posted by was19 NO[at]SPAM gmx.de at 1/31/2005 8:09:23 AM
hi guys, I need to use a function in a c# dll from delphi. I have written a sample: <code> using System; using System.Data; using System.Runtime.InteropServices; namespace DelphiTest { public interface IDelphiTest { void getparam(string IN_Param, out string OUT_Param, string IN_...more >>

difference between InstallAssembly and Reasm.exe /tlb
Posted by Secret Squirrel at 1/31/2005 7:52:46 AM
Hi, What is the difference between what RegistrationHelper.InsallAssembly vs Regasm.exe /tlb does? They both seem to register the object in COM+ Catalog? They both generate tlb files? So what is difference? Jon Paugh ...more >>

No such interface supported
Posted by Sachin at 1/30/2005 10:31:03 PM
Hi, I am using a COM component from ASP.NET and am getting "No such interface supported" along with "InvalidCastException". Can someone please give some pointers? Thanks ...more >>



SMTP Server events handling
Posted by mehal.ua NO[at]SPAM gmail.com at 1/30/2005 1:58:03 PM
Hello, I'm try to handle some message from Virtual SMTP Server (on IIS, Wiindows XP Pro), and I know about MailMsg COM Object, but its empty. I can't understend how I can handle events from SMTP Service, can you help me ? Thanx. ...more >>

QueryInterface does not work for services, works for other applications.
Posted by sdaman29 NO[at]SPAM gmail.com at 1/30/2005 5:01:49 AM
hello, I've got a problem that can be more or less reliably reproduced. I've got a com object described in a c++ written com library. There's also an interop for this library. the object has two interfaces. as long as use the default interface, everything works fine, but when I cast to the othe...more >>

Is is possible to use VT_ARRAY in ExecWB to print custom footer?
Posted by A Miller at 1/29/2005 11:21:01 PM
The documentation[1] for ExecWB with IDM_PRINT describes 3 forms of pvaIn. The 3rd form is a VT_ARRAY, where the 1st two BSTR's specify a custom header and footer. I have not been able to get this to work. The printed document always uses the default header and footer. For example, Dim ...more >>

Server Busy Dialog Box
Posted by Joe at 1/29/2005 1:25:50 AM
When using a web service I currently have sometimes I get a dialog box "Server Busy", not that I mind being told that but I would like to delay it from coming up so quickly. Is there a setting somewhere for a timeout time for this dialog box? Thanks Joe ...more >>


DevelopmentNow Blog