Advertisement

C++ DLL in VB

Started by July 18, 2001 07:03 PM
2 comments, last by Safrosoft 23 years, 7 months ago
Does anyone know how to make a DLL in C++ and then use it in Visual Basic? I know how to make basic functions in C, but how do you make it work with VB? I''m using Bloodshed DevC++ 4.0, a free C++ compiler. I''ve seen some things on making DLLs for VB in MSVC++, would it be different in DevC++ ??? Dmitriy Safro Safrosoft SafroDude@hotmail.com http://www.angelfire.com/my/rocks
If you make the DLL COM compliant then using it in VB would be very simple...just add a reference and you can use all the public objects. I''m not a proficient C++ programmer, so I''m not sure how complex (or simple) writing a COM dll in C++ is.

Epolevne
Advertisement
I have sample code on both the C++ code and how to use it in visual basic. It is located on my webpage. http://www.geocities.com/adamruggles

http://www.geocities.com/adamruggles/index.html
<a href="http://ruggles.hopto.org>My Personal Website
I do not persoanlly know how to do this, but here are two tutorials I know of:

http://www.vbexplorer.com/directx4vb
http://www.damberg.de/

Hope that helps,
-Brian Clark

This topic is closed to new replies.

Advertisement