Welcome to the new platform of Programmers Heaven! We apologize for the inconvenience caused, if you visited us from a broken link of the previous version. The main reason to move to a new platform is to provide more effective and collaborative experience to you all. Please feel free to experience the new platform and use it's exciting features. Contact us for any issue that you need to get clarified. We are more than happy to help you.
I have a DLL written in C++. I should like to access this DLL from VB.
All classes and functions use the __declspec calling convension.
So, what is the easiest? Is it:
1) Loading the DLL dynamically
2) Making a .bas file with function/type declarations?
Please post some sample code (or give a link to a website) that describes what can be done about loading the DLL.
Finally, I am no VB programmer. To check out the DLL I have created, visit http://www.tdlsoftware.com
and click on the TDLSoftLib Pro link to see what this library is for.
Thank you in advance,