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 >>
Don't see what you're looking for? Search DevelopmentNow.com.
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 >>
|