Allocating unmanaged array to store unmanaged objects
Thu, 18 Sep 2008 07:37:01 -0700
I trying to add objects to an array without success. The array is declared as
A** arr**. It is allocated with with the new operator. Two instances of the
class A is allready instanciated with the new operator and assigned to the
array with the brackets [] as shown below. The problem is that both elements
in ...
|
Notification of events to processes
Thu, 18 Sep 2008 03:45:01 -0700
I have a .NET assembly exposes as a COM interface. Some methods are available
on the interface, e.g. ChangePrice(...)
I have a VB6 COM client that calls the ChangePrice method of the interface
passing as parameter the new price list.
When the ChangePrice method is called the COM interface should communicate
...
|
BSTR allocationg / release
Thu, 18 Sep 2008 03:16:15 -0700
I need to call a method defined as
HRESULT Connect(
long lType,
BSTR bstrUserName,
BSTR bstrSitePassword,
BSTR bstrSiteIPAdrress,
long lStartTime
)
Visual studio generated the following code
public virtual void Connect(object lType, object bstrUserName, object
bstrSitePswd, object bstrSiteAddr ...
|
Exposing nested arrays to COM
Tue, 16 Sep 2008 02:36:46 -0700 (PDT)
I have a method in .NET (C#) which returns string[][]. When using
RegAsm or TlbExp (from the .NET 2.0 SDK) to create a COM type library
for the containing assembly, I get the following warning:
WARNING: There is no marshaling support for nested arrays.
This warning results in the method in question not being ...
|
How to make VB6.0 release a Managed dll ? (COM Interop)
Mon, 15 Sep 2008 01:42:00 -0700
I've implemented a simple C# COM object in a dll library for use in a VB6
object.
After I've finished with it I set the c# COM object to nothing, the VB6
process ends, and I detach the COM object from the VB6 process.
Further investigation shows that after ending the VB6 process the dll is
still loaded in me ...
|
Dynamic call of OLE objects
Fri, 12 Sep 2008 21:32:12 GMT
Hi everyone. Sorry if I'm posting this question in the wrong area, If I am
please tell me. I'm curious if any of you have ever built something that
allows users ability to associate an OLE object at runtime with a particular
process. What I'm trying to do is allow a user the ability to define a new
process th ...
|
tlbimp/configuration issue--VS2005
Thu, 11 Sep 2008 11:43:45 -0400
Hi, Dear C# gurus:
I am using the following command line to create interop dll:
"C:\Program Files\Microsoft Visual Studio 8\SDK\v2.0\Bin\TlbImp" /strictref
c:\temp\LangTransCom.tlb /namespace:LangTransCom /keycontainer:Em4SnKey
/out:"c:\temp\Interop.LangTransCom.dll"
at one machine, this is perfectly f ...
|
|
|
Creating an Exchange Mailbox though C#
Wed, 10 Sep 2008 07:41:34 -0700 (PDT)
Lang: C#
Tech: asp.net
Framework: .Net 3.5
The down and dirty is, I have a one page webform that creates a new
user in active directory. I do this with the use of the
System.DirectoryServices classes. It does create a user just fine but
I'm having trouble approaching how to create a mail box in exchange.
D ...
|
RTD Server proper registartion
Sat, 06 Sep 2008 17:23:16 +0200
Hello,
I need you help.
I've developed a RTD server using C# and .NET framework for use in
Excel. As an output i have a .dll assembly. My class implements an
IRTDServer as written at MSDN.
The problem is that I can't register my COM component properly. It works
only on my dev Machine with VS2005.
I ...
|
"No matching function on interface" when Method contains COM
enumeration Options
Fri, 5 Sep 2008 18:54:46 -0700 (PDT)
Hi
I'm stuck and would appreciate some help.
I have created a Class library project that contains a number of
interface definitions that must be used by a range of other VB.NET
applications. One of the interfaces has been defined as follows:
Public Interface IPlugin
Function GetScreenPop(ByVal N ...
|