-
September 16th, 2009, 11:28 PM
#1
How to call 'C' based DLL from VB.NET
Hi all,
First post here.
I am the author of the MAPM arbitrary precision math library. This is a library which allows the user to make any calculation to any desired precision level. The library is written in straight ANSI C.
On many occasions, I get an email on how to use the library from a VB.NET / Visual Basic application. I have very little basic experience, and I don't know what to tell them. I would really like to tell them how to proceed to call MAPM from a basic application.
Let's assume they can compile the library with a C compiler and create a DLL.
So my question is there a conventional / standard way to call a C based DLL from a VB application. If there is some thread or help available somewhere, I would like to send the people to that location.
Thanks much,
Mike
-
September 20th, 2009, 05:09 PM
#2
Re: How to call 'C' based DLL from VB.NET
It's no different than in classic VB.
http://edais.mvps.org/Tutorials/CDLL/index.html
Just make sure you declared the function correctly and there should be no issue.
-
September 24th, 2009, 07:08 PM
#3
Re: How to call 'C' based DLL from VB.NET
Thank you very much for the link, much appreciated.
Mike
Tags for this Thread
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|