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

Exporting C++ class to Visual Basic

This topic is 5016 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

Hello Maega,

What do you mean by exporting.

1) You are trying to learn how to recode it in VB?
2) You are trying to make a DLL or Library out of your class then to import it in using VB?
3) other...

Well for all I''ve known I''m sure you could possibly rewrite your class and code in VB as long as you know how to code it. I havent seen a program to convert all the code and so forth, probably no need for it but for the exception maybe they will design something.

Anyway, just let me know what you are trying to do, maybe I could help a little bit more.


Share this post

Link to post
Share on other sites
If I understand correctly --

You want to define a C++ class in a DLL and then access that class from Visual Basic?

The only way to do this is to use COM. This is a long, long thing to explain, so you may as well hit MSDN and look for stuff; there''s a lot there.

Share this post

Link to post
Share on other sites