Menu

Create DLL for VB with DevC++

2002-08-13
2012-09-26
  • Nobody/Anonymous

    I have found many resources to do the following:
    1. Create DLL with DevC++ for C++.
    2. Create DLL with VC++ for Visual Basic/C++.

    I need info on creating a DLL with Dev-C++ that can be used by Visual Basic 6.0. Information or ideas would be most useful.

    Regards,
    ChuckB

     
    • Nobody/Anonymous

      What files do you need in order to use a DLL with VB?

       
      • Nobody/Anonymous

        All I need for VB is a DLL.  The problem I am having is that it seems VC++ requires a .DEF (definition) file to identify the export library...which somehow creates a DLL that will work with VB.

        DevC++ doesn't allow me to select a DEF file by name or setup any scripting inside...it does generate a DEF file for me.

        So, I am hoping someone who has used DevC++ to write a DLL for VB will see this and give me the missing clue.
        Thanks,
        ChuckB

         
    • Nobody/Anonymous

      I found a thread discussing the creation of dlls for visual basic with the cygwin compiler.
      http://sources.redhat.com/ml/cygwin/2002-01/msg01200.html
      The cygwin compiler is very similar to the default Dev-C++ compiler (mingw).  If that does not work, you could try using the cygwin compiler with Dev-C++.

      Anyway, I hope that helps.
      Don.

       

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.