none
How to use a DLL in VC 6.0 created in VB 6.0

    Question

  • Hello Everybody,

    i want to register and use a dll which has been created in VC 6.0 and use one of its function.

    i don't know the syntax to use it.

    Pls help me.

    Thanks and Regards

    Munish Gupta

    Tuesday, September 26, 2006 6:43 AM

Answers

All replies

  • How to use a DLL in VC 6.0 created in VB 6.0

    i want to register and use a dll which has been created in VC 6.0 and use one of its function.

    These two are contradictory. Please state your problem without ambiguities.

    Tuesday, September 26, 2006 6:47 AM
  • Hello Sir,

    i have created  a Dll in Visual Basic for compression of wave files.

    i want to use the same in VC ++ 6.0 Code.

    Munish Gupta

    Tuesday, September 26, 2006 6:55 AM
  • OK. You can load the DLL with LoadLibrary() and get the address of functions to call with GetProcAddress(). Take a look at these functions in MSDN.
    Tuesday, September 26, 2006 6:59 AM
  • In addition you can make use of View Depends Application to get the function signatures of the DLL.
    Tuesday, September 26, 2006 7:29 AM
  • Since he created the DLL in VB he should already know the signatures...
    Tuesday, September 26, 2006 10:01 AM
  •  

      A VB6 dll is a COM dll.  It's called in a different manner.  

       Please see this thread :   http://forums.microsoft.com/MSDN/ShowPost.aspx?PostID=388578&SiteID=1 

       For any further questions related to VC6 or VB6 please use the newsgroups at  http://msdn.microsoft.com/newsgroups 

      Regards

          Sahir Shah

      

    Tuesday, September 26, 2006 5:41 PM