Interop

  • Thread starter Thread starter Hugo Mind
  • Start date Start date
H

Hugo Mind

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
 
Hugo Mind said:
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.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top