Article View: borland.public.csharpbuilder.language.csharp
Article #129CSharp / OLE
From: Looki VanDyke
Date: Tue, 17 Apr 2007 07:06
Date: Tue, 17 Apr 2007 07:06
52 lines
1516 bytes
1516 bytes
Hi,
I want to get a
string value out of
an
activex-component.
I solved it easily
in delphi:
var
hlpstrptr
: WideString;
hlp_string
: String;
...
ActiveXComponent.GetCreatorID(hlpstrptr);
hlp_CreatorID :=
hlpstrptr;
but in C# ??
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#?
Best regards
Loki
Technical Details
Message-ID:
<462471e1$1@newsgroups.borland.com>Path:
arc1-ca.pugleaf.net!g2news1.google.com!news3.google.com!proxad.net!212.101.4.254.MISMATCH!solnet.ch!solnet.ch!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mailShow Full Headers
Complete Article Headers
X-Google-Thread: 1efe35,a29b06084724d61a,start X-Google-Attributes: gid1efe35,public X-Google-Language: ENGLISH,ASCII-7-bit Date: Tue, 17 Apr 2007 09:06:16 +0200 From: Looki VanDyke <Nixus@minimax.de> User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; de-AT; rv:1.8.1.2) Gecko/20070222 SeaMonkey/1.1.1 MIME-Version: 1.0 Newsgroups: borland.public.csharpbuilder.language.csharp Subject: CSharp / OLE Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit NNTP-Posting-Host: 134.176.129.42 Message-ID: <462471e1$1@newsgroups.borland.com> X-Trace: newsgroups.borland.com 1176793569 134.176.129.42 (17 Apr 2007 00:06:09 -0800) Lines: 52 Path: arc1-ca.pugleaf.net!g2news1.google.com!news3.google.com!proxad.net!212.101.4.254.MISMATCH!solnet.ch!solnet.ch!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail