Solved

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

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

Highfive Gives IT Their Time Back

Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

Join & Write a Comment

Microsoft Reports are based on a report definition, which is an XML file that describes data and layout for the report, with a different extension. You can create a client-side report definition language (*.rdlc) file with Visual Studio, and build g…
Parsing a CSV file is a task that we are confronted with regularly, and although there are a vast number of means to do this, as a newbie, the field can be confusing and the tools can seem complex. A simple solution to parsing a customized CSV fi…
It is a freely distributed piece of software for such tasks as photo retouching, image composition and image authoring. It works on many operating systems, in many languages.
Here's a very brief overview of the methods PRTG Network Monitor (https://www.paessler.com/prtg) offers for monitoring bandwidth, to help you decide which methods you´d like to investigate in more detail.  The methods are covered in more detail in o…

707 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

Need Help in Real-Time?

Connect with top rated Experts

13 Experts available now in Live!

Get 1:1 Help Now