🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: borland.public.csharpbuilder.language.csharp
Article #130

Re: CSharp / OLE

#130
From: Marc Rohloff TeamB
Date: Thu, 19 Apr 2007 03:16
28 lines
1802 bytes
On Tue, 17 Apr 2007 09:06:16 +0200, Looki VanDyke wrote:

> I only know that
>      string hlpstr = "";
> 
>      result = 
> axActiveXComponent1.GetCreatorID(ref 
> hlpstr);
> 
> will not work, cause the 
> "ActiveXComponent.GetCreatorID"-function 
> fails with "wrong parameter type".
> 
> So: hlpstr should be a pointer to a WideString (in 
> "dephi-words")
> How can I achive this with C#?

.NET doesn't have the concept of a pointer to a widestring.

The first thing to do would be to find out what the GetCreatorID
function expects as parameters, code insite should tell you this as
should a decent reflection tool.

What ActiveX are you trying to access?

-- 
Marc Rohloff [TeamB]
marc -at- marc rohloff -dot- com
Technical Details
Message-ID: <qbaacvhq3tkk.dlg@dlg.marcrohloff.com>
Path: arc1-ca.pugleaf.net!g2news1.google.com!news2.google.com!news.glorb.com!newsfeeds.ihug.co.nz!ihug.co.nz!newsgroups.borland.com!not-for-mail
References: <462471e1$1@newsgroups.borland.com>

Show Full Headers
Complete Article Headers
X-Google-Thread: 1efe35,a29b06084724d61a
X-Google-Attributes: gid1efe35,public
X-Google-Language: ENGLISH,ASCII-7-bit
From: "Marc Rohloff [TeamB]" <"on request">
Subject: Re: CSharp / OLE
Newsgroups: borland.public.csharpbuilder.language.csharp
User-Agent: 40tude_Dialog/2.0.15.1
MIME-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
References: <462471e1$1@newsgroups.borland.com>
Date: Wed, 18 Apr 2007 23:16:27 -0400
Message-ID: <qbaacvhq3tkk.dlg@dlg.marcrohloff.com>
X-Face: "huzh55Xi]!ZNni78>a*5+).`SK?<^q2MlHk-C]Z2M9T@\J5ZCB$95Ey+s"XQuhGFA[eutZ :0^AV!Q;t>gE`1-=8d;HZ6~*o1dH<X9\b$!|(}+I'!Xq)@3Op}%0ArW&nf'Qh*EwR
X-Antivirus: avast! (VPS 000734-2, 04/18/2007), Outbound message
X-Antivirus-Status: Clean
NNTP-Posting-Host: 65.31.1.121
X-Trace: newsgroups.borland.com 1176952572 65.31.1.121 (18 Apr 2007 20:16:12 -0800)
Lines: 28
X-Authenticated-User: mrohloff
Path: arc1-ca.pugleaf.net!g2news1.google.com!news2.google.com!news.glorb.com!newsfeeds.ihug.co.nz!ihug.co.nz!newsgroups.borland.com!not-for-mail