Content-Class: urn:content-classes:message
From: "rasa" <
[email protected]>
Sender: "rasa" <
[email protected]>
References: <
[email protected]>
Subject: c# com call-- am I getting warm here?
Date: Tue, 26 Aug 2003 10:01:22 -0700
Lines: 24
Message-ID: <
[email protected]>
MIME-Version: 1.0
Content-Type: text/plain;
charset="iso-8859-1"
Content-Transfer-Encoding: 7bit
X-Newsreader: Microsoft CDO for Windows 2000
Thread-Index: AcNr861r19e4QVcMTayq+c/Dsj98Lw==
X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4910.0300
Newsgroups: microsoft.public.dotnet.languages.csharp
Path: cpmsftngxa06.phx.gbl
Xref: cpmsftngxa06.phx.gbl microsoft.public.dotnet.languages.csharp:179562
NNTP-Posting-Host: TK2MSFTNGXA12 10.40.1.164
X-Tomcat-NG: microsoft.public.dotnet.languages.csharp
I tried this, which compiles cleanly, but my app hangs
when I try to run it:
short[] array = new short[16];
foreach ( int i in array )
{
array
= 0;
}
fixed (short* dest = array)
{
myobj.SomeFunction(19, 1, ref *dest);
}
-----Original Message-----
I am able to instantiate and make calls to a com module
that use only primitive data types, but I simply don't
know what the c# equivalent is for a function expecting
short*. Any help would be appreciated.
.