Exporting C++ class to Visual Basic
What are the steps I need to take to do this? Is it even possible?
I searched google, but didn''t find anything useful.
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.
[BDS]StackOverflow
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.
[BDS]StackOverflow
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.
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.
I wrote an ATL tutorial some time ago (that makes a COM dll using C++ & the ATL, and uses it in Excel because I didn''t have VB installed), but it''s embedded in a thread somewhere on the board. Lemme try to find it...
This topic is closed to new replies.
Advertisement
Popular Topics
Advertisement