Solved

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

Posted on 2006-06-09
3
235 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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

Revamp Your Training Process

Drastically shorten your training time with WalkMe's advanced online training solution that Guides your trainees to action.

Question has a verified solution.

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

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…
Introduction As chip makers focus on adding processor cores over increasing clock speed, developers need to utilize the features of modern CPUs.  One of the ways we can do this is by implementing parallel algorithms in our software.   One recent…
Finding and deleting duplicate (picture) files can be a time consuming task. My wife and I, our three kids and their families all share one dilemma: Managing our pictures. Between desktops, laptops, phones, tablets, and cameras; over the last decade…

710 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