Click here to Skip to main content
15,914,452 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
I have got difficult task to call vb.dll from VC++ 2017
For initial test purpose I have received vb 6.0 dll in which there
is TestClass in which there is method Test_Click.Now I need to call
this function from VC++ MFC dialogbased application.

C++
var t = new TestClass();
            var x=t.Test_Click();


I have googled but did not got solution.If anyone can answer this question?

What I have tried:

Calling VB 6.0 dll from VC++ 2017
Posted
Updated 15-Jan-19 23:25pm

1 solution

 
Share this answer
 
Comments
adityarao31 16-Jan-19 6:30am    
Thank you very much,it worked well
Maciej Los 16-Jan-19 7:50am    
5ed!
Richard MacCutchan 16-Jan-19 9:39am    
Thanks. Strange how I found it immediately with my first Google search.
Maciej Los 16-Jan-19 9:41am    
Sometimes it happens, even to me :laugh:

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