Solved

How to use VBDll in vc++

Posted on 2004-04-27
3
163 Views
Last Modified: 2013-11-20
hi
      I want to use some functions of visual basic in MFC applications. I write them in a Dll.
 So tell me how can i use this dll(VB) in MFC.

0
Comment
Question by:ManojKrChauhan
  • 2
3 Comments
 
LVL 3

Accepted Solution

by:
akalmani earned 50 total points
ID: 10936645
Since you have not mentioned what kind of DLL you have.
If its an ActiveX DLL developed in VB than have a look at this.
http://www.codeproject.com/dll/vbactivexwithvc.asp
0
 

Author Comment

by:ManojKrChauhan
ID: 10949807
Thanks
I used vbdl in MFC application.
 It's running well. but only on My System.
I registered it like regsvr32 vbdll.dll
When i run my application on other system then it doesn't call dll's function. No error but fail to call functions of dll. why?
Please reply
0
 
LVL 3

Expert Comment

by:akalmani
ID: 10956884
Check whether the required dependent DLL's are present on the target system?

You can do this by using a dependency walker which comes with Visual Studio.
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Introduction: Load and Save to file, Document-View interaction inside the SDI. Continuing from the second article about sudoku.   Open the project in visual studio. From the class view select CSudokuDoc and double click to open the header …
Introduction: Hints for the grid button.  Nested classes, templated collections.  Squash that darned bug! Continuing from the sixth article about sudoku.   Open the project in visual studio. First we will finish with the SUD_SETVALUE messa…
This video will show you how to get GIT to work in Eclipse.   It will walk you through how to install the EGit plugin in eclipse and how to checkout an existing repository.
Hi friends,  in this video  I'll show you how new windows 10 user can learn the using of windows 10. Thank you.

867 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

19 Experts available now in Live!

Get 1:1 Help Now