Handle pointers from delphi client to a vb.net dll

D

Dinesh Kumar

Hi all

I am using VB.NET for a Connector dll in Delphi client and some webservice .

can you tell me how to handle pointers in Vb.net which are passed by delphi
client as parameters in function

all the information is returned on the basis of reference or pointers in
functions. I can not change the client APIS so i have to handle then in
VB.net dll

Best Regards
Dinesh Kumar
 
C

CT

Dinesh,

I am not sure if I understand you correctly, but VB .NET does not work with
pointers. Can you perhaps give an example of what it is you want to do? Are
you calling into the Delphi DLL from VB .NET and the information (pointers?)
is returned from one or more functions/methods in the Delphi DLL?
 
D

Dinesh Kumar

Thanx for reply

The client is in delphi and i have to write dll in vb.net which will take
info from webservice.

The delphi client is passing info by ref and i have to handle that in vb.net

u know by ref parameters can be changed with in the function. So new value
get stored on the same ref parameters.and delphi client gets the value back

Rgds
Dinesh
 
C

CT

Okay, just to make sure that I totally understand your scenario.

You have a Web service which should be called from your VB .NET DLL
assembly, when it is itself called from your Deplhi client, right? Does your
Delphi client "speak" .NET or COM?
 
D

Dinesh Kumar

it understands COM.
I have one dll written in vc++ which uses pointers to handle those
references
the same i have to write in VB.net
 

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

Top