Solved

How to use VBDll in vc++

Posted on 2004-04-27
3
190 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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

On Demand Webinar - Networking for the Cloud Era

This webinar discusses:
-Common barriers companies experience when moving to the cloud
-How SD-WAN changes the way we look at networks
-Best practices customers should employ moving forward with cloud migration
-What happens behind the scenes of SteelConnect’s one-click button

Question has a verified solution.

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

Introduction: Dynamic window placements and drawing on a form, simple usage of windows registry as a storage place for information. Continuing from the first article about sudoku.  There we have designed the application and put a lot of user int…
Introduction: Finishing the grid – keyboard support for arrow keys to manoeuvre, entering the numbers.  The PreTranslateMessage function is to be used to intercept and respond to keyboard events. Continuing from the fourth article about sudoku. …
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.
There are cases when e.g. an IT administrator wants to have full access and view into selected mailboxes on Exchange server, directly from his own email account in Outlook or Outlook Web Access. This proves useful when for example administrator want…

617 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