Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Interop

0 views
Skip to first unread message

Hugo Mind

unread,
Mar 1, 2007, 1:36:54 PM3/1/07
to
Hi,

I have a DCOM DLL with a method expecting me to send parameter as LPSTR

Sub SendCommandArg1(ByVal Command As Long, ByVal Size As Long, ByVal Arg
As LPSTR)

Is there a way to convert c# string into LPSTR ?

Regards,
Hugo


Willy Denoyette [MVP]

unread,
Mar 1, 2007, 1:57:18 PM3/1/07
to
"Hugo Mind" <hugo...@hotmail.com> wrote in message
news:45e71d43$0$30049$9a6e...@unlimited.newshosting.com...

> Hi,
>
> I have a DCOM DLL with a method expecting me to send parameter as LPSTR
>
> Sub SendCommandArg1(ByVal Command As Long, ByVal Size As Long, ByVal Arg As LPSTR)
>
This looks like VB and VB doesn't have a LPSTR type, am I missing something here?

Willy.

0 new messages