Click here to Skip to main content
15,881,898 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
in the name of god


hi
have a good time

i want to create a dll file and have a class in c++, now i want to export the whole of class to dll and use the dll file with the visual basic.
would you tell me how can i do that?

thanks
Posted

1 solution

Not much divinity in coding la.

It is pretty easy to Google for what you want to do

HowTo: Export C++ classes from a DLL[^]

And for importing Walkthrough: Calling Windows APIs (Visual Basic)[^]

Or you can go the COM way: COM in C++[^]
How to: Reference COM Objects from Visual Basic[^]
 
Share this answer
 
v2

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900