Solved

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

Posted on 2006-06-09
3
221 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

Problems using Powershell and Active Directory?

Managing Active Directory does not always have to be complicated.  If you are spending more time trying instead of doing, then it's time to look at something else. For nearly 20 years, AD admins around the world have used one tool for day-to-day AD management: Hyena. Discover why

Question has a verified solution.

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

Suggested Solutions

I think the Typed DataTable and Typed DataSet are very good options when working with data, but I don't like auto-generated code. First, I create an Abstract Class for my DataTables Common Code.  This class Inherits from DataTable. Also, it can …
Since .Net 2.0, Visual Basic has made it easy to create a splash screen and set it via the "Splash Screen" drop down in the Project Properties.  A splash screen set in this manner is automatically created, displayed and closed by the framework itsel…
This Micro Tutorial will give you a basic overview how to record your screen with Microsoft Expression Encoder. This program is still free and open for the public to download. This will be demonstrated using Microsoft Expression Encoder 4.
In a recent question (https://www.experts-exchange.com/questions/28997919/Pagination-in-Adobe-Acrobat.html) here at Experts Exchange, a member asked how to add page numbers to a PDF file using Adobe Acrobat XI Pro. This short video Micro Tutorial sh…

821 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