Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. General Programming
  3. C / C++ / MFC
  4. how the .exe call the dll

how the .exe call the dll

Scheduled Pinned Locked Moved C / C++ / MFC
c++questionworkspace
4 Posts 3 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • W Offline
    W Offline
    wendyyue
    wrote on last edited by
    #1

    there are a aubio lib under the unix environment, now someone try to use the mingw to complied under windows, then I download the latter, which include the some .exe and dll, but when I double click the .exe, the Dos window show up and dispear in a while, so I can not see the result, how should I do to let the exe run , and I can see the result after run. Do I need to use the VC++ to load the exe and then call the dll, how should I do? Thanks.

    Y N 2 Replies Last reply
    0
    • W wendyyue

      there are a aubio lib under the unix environment, now someone try to use the mingw to complied under windows, then I download the latter, which include the some .exe and dll, but when I double click the .exe, the Dos window show up and dispear in a while, so I can not see the result, how should I do to let the exe run , and I can see the result after run. Do I need to use the VC++ to load the exe and then call the dll, how should I do? Thanks.

      Y Offline
      Y Offline
      Ylno
      wrote on last edited by
      #2

      under widows: click the 'start' button when the menu comes up click 'run' in the box (Open: ) type 'cmd' then click 'Ok'. This gives you a dos-window. now find where you have put your .exe file and navigate to it using the dos window. When you are in the directory where the .exe lives you should be able to type its name and the program will run and the window won't disappear.

      1 Reply Last reply
      0
      • W wendyyue

        there are a aubio lib under the unix environment, now someone try to use the mingw to complied under windows, then I download the latter, which include the some .exe and dll, but when I double click the .exe, the Dos window show up and dispear in a while, so I can not see the result, how should I do to let the exe run , and I can see the result after run. Do I need to use the VC++ to load the exe and then call the dll, how should I do? Thanks.

        N Offline
        N Offline
        nitin_pro
        wrote on last edited by
        #3

        you will compile the program in VC++ then copy the DLL and LIB file in your exe program where you want to run.

        N 1 Reply Last reply
        0
        • N nitin_pro

          you will compile the program in VC++ then copy the DLL and LIB file in your exe program where you want to run.

          N Offline
          N Offline
          nitin_pro
          wrote on last edited by
          #4

          or you also call the loadlibrary function in the exe application , in loadlibrary function you can directly pass the Dll may this help

          1 Reply Last reply
          0
          Reply
          • Reply as topic
          Log in to reply
          • Oldest to Newest
          • Newest to Oldest
          • Most Votes


          • Login

          • Don't have an account? Register

          • Login or register to search.
          • First post
            Last post
          0
          • Categories
          • Recent
          • Tags
          • Popular
          • World
          • Users
          • Groups