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 5 2176
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?
--
Carsten Thomsen
Communities - http://community.integratedsolutions.dk
---------
Voodoo Programming: Things programmers do that they know shouldn't work but
they try anyway, and which sometimes actually work, such as recompiling
everything. (Karl Lehenbauer)
---------
"Dinesh Kumar" <di**********@appulse.com> wrote in message
news:uc**************@TK2MSFTNGP02.phx.gbl... 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
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
"CT" <ca******@spammersgoawayintegrasol.dk> wrote in message
news:e8****************@TK2MSFTNGP03.phx.gbl... 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?
-- Carsten Thomsen Communities - http://community.integratedsolutions.dk --------- Voodoo Programming: Things programmers do that they know shouldn't work but they try anyway, and which sometimes actually work, such as recompiling everything. (Karl Lehenbauer) --------- "Dinesh Kumar" <di**********@appulse.com> wrote in message news:uc**************@TK2MSFTNGP02.phx.gbl... 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
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?
--
Carsten Thomsen
Communities - http://community.integratedsolutions.dk
---------
Voodoo Programming: Things programmers do that they know shouldn't work but
they try anyway, and which sometimes actually work, such as recompiling
everything. (Karl Lehenbauer)
---------
"Dinesh Kumar" <di**********@appulse.com> wrote in message
news:eZ**************@TK2MSFTNGP05.phx.gbl... 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 "CT" <ca******@spammersgoawayintegrasol.dk> wrote in message news:e8****************@TK2MSFTNGP03.phx.gbl... 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?
-- Carsten Thomsen Communities - http://community.integratedsolutions.dk --------- Voodoo Programming: Things programmers do that they know shouldn't work but they try anyway, and which sometimes actually work, such as recompiling everything. (Karl Lehenbauer) --------- "Dinesh Kumar" <di**********@appulse.com> wrote in message news:uc**************@TK2MSFTNGP02.phx.gbl... 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
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
"CT" <ca******@spammersgoawayintegrasol.dk> wrote in message
news:ei**************@TK2MSFTNGP02.phx.gbl... 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?
-- Carsten Thomsen Communities - http://community.integratedsolutions.dk --------- Voodoo Programming: Things programmers do that they know shouldn't work but they try anyway, and which sometimes actually work, such as recompiling everything. (Karl Lehenbauer) --------- "Dinesh Kumar" <di**********@appulse.com> wrote in message news:eZ**************@TK2MSFTNGP05.phx.gbl... 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 "CT" <ca******@spammersgoawayintegrasol.dk> wrote in message news:e8****************@TK2MSFTNGP03.phx.gbl... 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?
-- Carsten Thomsen Communities - http://community.integratedsolutions.dk --------- Voodoo Programming: Things programmers do that they know shouldn't work but they try anyway, and which sometimes actually work, such as recompiling everything. (Karl Lehenbauer) --------- "Dinesh Kumar" <di**********@appulse.com> wrote in message news:uc**************@TK2MSFTNGP02.phx.gbl... 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
You then need to create a .NET Class Library project from which the output
is a DLL assembly and make it "appear" as a COM component using COM Interop,
look here: http://support.microsoft.com/?kbid=817248
--
Carsten Thomsen
Communities - http://community.integratedsolutions.dk
---------
Voodoo Programming: Things programmers do that they know shouldn't work but
they try anyway, and which sometimes actually work, such as recompiling
everything. (Karl Lehenbauer)
---------
"Dinesh Kumar" <di**********@appulse.com> wrote in message
news:%2******************@TK2MSFTNGP03.phx.gbl... 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 "CT" <ca******@spammersgoawayintegrasol.dk> wrote in message news:ei**************@TK2MSFTNGP02.phx.gbl... 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?
-- Carsten Thomsen Communities - http://community.integratedsolutions.dk --------- Voodoo Programming: Things programmers do that they know shouldn't work but they try anyway, and which sometimes actually work, such as recompiling everything. (Karl Lehenbauer) --------- "Dinesh Kumar" <di**********@appulse.com> wrote in message news:eZ**************@TK2MSFTNGP05.phx.gbl... 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 "CT" <ca******@spammersgoawayintegrasol.dk> wrote in message news:e8****************@TK2MSFTNGP03.phx.gbl... 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?
-- Carsten Thomsen Communities - http://community.integratedsolutions.dk --------- Voodoo Programming: Things programmers do that they know shouldn't work but they try anyway, and which sometimes actually work, such as recompiling everything. (Karl Lehenbauer) --------- "Dinesh Kumar" <di**********@appulse.com> wrote in message news:uc**************@TK2MSFTNGP02.phx.gbl... > 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 > > > >
This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics
by: Kong Li |
last post by:
Follow up to this thread, the latest Oracle 9i release 2 patchset
(9.2.0.5) fixed the handle count leak problem. The problem is in
Oracle client component.
Thanks.
Kong
-----
From: Kong...
|
by: nick |
last post by:
I have the following code:
var ocevent = function(v)
{
alert('javascript event: u clicked '+v);
return false;
};
|
by: Howard |
last post by:
Hi,
I recently had a problem where I decided to store objects in a vector.
(Previously, I had always stored pointers in vectors). Well, naturally,
when storing an object in a vector, using...
|
by: kim d |
last post by:
Hi,
I know already this is a really stupid question but how do you obtain a
handle to an application or a window in C#. Formerly I used
Application.Handle in Delphi so I'm looking for the...
|
by: glenn |
last post by:
I've gotten a COM server written in C# and I can call it from a VBScript
just fine and it works perfectly. However, I import it into Delphi 6 or
Delphi 2005 and I can not get access to any of the...
|
by: |
last post by:
Hi,
we are planning to rewrite an extisting C++ image processing
application/library in C#. Now several question arouse where I hope you can
help me:
So far we allocated a block of memory as...
|
by: Tomek |
last post by:
Welcome.
I`m trying to prepere some project that shows how to use Corba technology i
heterogenic systems.I`d like to create CORBA server with Borland Delphi (or
C#.NET) and few client...
|
by: Dinesh Kumar |
last post by:
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...
|
by: weaknessforcats |
last post by:
Handle Classes
Handle classes, also called Envelope or Cheshire Cat classes, are part of the Bridge design pattern. The objective of the Bridge pattern is to separate the abstraction from the...
|
by: Charles Arthur |
last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
|
by: ryjfgjl |
last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
|
by: emmanuelkatto |
last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud.
Please let me know.
Thanks!
Emmanuel
|
by: BarryA |
last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
|
by: nemocccc |
last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
|
by: marktang |
last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
|
by: Oralloy |
last post by:
Hello folks,
I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>".
The problem is that using the GNU compilers,...
|
by: Hystou |
last post by:
Overview:
Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
|
by: tracyyun |
last post by:
Dear forum friends,
With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
| |