Solved

Calling a dll file from vb to read the value of the pointer

Posted on 2006-06-09
3
227 Views
Last Modified: 2010-04-23
Dear all,

I have a problem to read the value of a pointer in VB.NET through using a DLL file.  Here is the concept:

The DLL file has one of its argument a pointer:
xDLL (PointerVar).

The xDLL file is called from VB.NET as follows:

LOADxDLL(ByRef PointerVar As IntPtr)

I want to read the value of the pointer PointerVar (not the address) in order to use it to show a progress of a simulation.

Any hint is appreciated.

Thanks
0
Comment
Question by:azzedine
  • 2
3 Comments
 
LVL 35

Expert Comment

by:YZlat
ID: 16870965
Dim cls New DLLNAme

cls.LOADxDLL
0
 
LVL 35

Accepted Solution

by:
YZlat earned 100 total points
ID: 16870978
wait, if LOADxDLL is a method of xDLL, then when calling that method from your appication, you will need to supply a pointer to pass to LOADxDLL
0

Featured Post

Networking for the Cloud Era

Join Microsoft and Riverbed for a discussion and demonstration of enhancements to SteelConnect:
-One-click orchestration and cloud connectivity in Azure environments
-Tight integration of SD-WAN and WAN optimization capabilities
-Scalability and resiliency equal to a data center

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Introduction When many people think of the WebBrowser (http://msdn.microsoft.com/en-us/library/2te2y1x6%28v=VS.85%29.aspx) control, they immediately think of a control which allows the viewing and navigation of web pages. While this is true, it's a…
1.0 - Introduction Converting Visual Basic 6.0 (VB6) to Visual Basic 2008+ (VB.NET). If ever there was a subject full of murkiness and bad decisions, it is this one!   The first problem seems to be that people considering this task of converting…
This video shows how to quickly and easily add an email signature for all users on Exchange 2016. The resulting signature is applied on a server level by Exchange Online. The email signature template has been downloaded from: www.mail-signatures…
A short tutorial showing how to set up an email signature in Outlook on the Web (previously known as OWA). For free email signatures designs, visit https://www.mail-signatures.com/articles/signature-templates/?sts=6651 If you want to manage em…

839 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question