Visual Basic

Moderators: None (Apply to moderate this forum)
Number of threads: 17974
Number of posts: 55343

This Forum Only
Post New Thread
Single Post View       Linear View       Threaded View      f

Report
What's easiest? Posted by TDLGames on 2 Jan 2005 at 6:52 AM
Hi Everyone,
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,
Peter.




 

Recent Jobs

Official Programmer's Heaven Blogs
Web Hosting | Browser and Social Games | Gadgets

Popular resources on Programmersheaven.com
Assembly | Basic | C | C# | C++ | Delphi | Flash | Java | JavaScript | Pascal | Perl | PHP | Python | Ruby | Visual Basic
© Copyright 2011 Programmersheaven.com - All rights reserved.
Reproduction in whole or in part, in any form or medium without express written permission is prohibited.
Violators of this policy may be subject to legal action. Please read our Terms Of Use and Privacy Statement for more information.
Operated by CommunityHeaven, a BootstrapLabs company.