Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

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

Posted on 2006-06-09
3
Medium Priority
?
246 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 200 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

Hire Technology Freelancers with Gigs

Work with freelancers specializing in everything from database administration to programming, who have proven themselves as experts in their field. Hire the best, collaborate easily, pay securely, and get projects done right.

Question has a verified solution.

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

This article explains how to create and use a custom WaterMark textbox class.  The custom WaterMark textbox class allows you to set the WaterMark Background Color and WaterMark text at design time.   IMAGE OF WATERMARKS STEPS Create VB …
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…
This Micro Tutorial will teach you how to add a cinematic look to any film or video out there. There are very few simple steps that you will follow to do so. This will be demonstrated using Adobe Premiere Pro CS6.
This video shows how to quickly and easily deploy an email signature for all users in Office 365 and prevent it from being added to replies and forwards. (the resulting signature is applied on the server level in Exchange Online) The email signat…
Suggested Courses
Course of the Month13 days, 12 hours left to enroll

963 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