• Advertisement

Archived

This topic is now archived and is closed to further replies.

C++ DLL in VB

This topic is 6060 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

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

Share this post


Link to post
Share on other sites
Advertisement
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

Share this post


Link to post
Share on other sites
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

Share this post


Link to post
Share on other sites
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

Share this post


Link to post
Share on other sites

  • Advertisement