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. Dll fucntions called in EXE !

Dll fucntions called in EXE !

Scheduled Pinned Locked Moved C / C++ / MFC
helpc++sysadmindebuggingquestion
2 Posts 2 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.
  • L Offline
    L Offline
    lgatcodeproject
    wrote on last edited by
    #1

    Hi, I have created a dll in VC++ and an EXE that uses this dll. One of the function called Open(..) present in dll connect to a server. My exe calls this Open(..) function. when I run my exe for the first time it connects to the server. All the other tries fails. But if I run the exe in debug mode it works. what would be the problem Can any one help? Thank you. Regards, lg.

    lgatcodeproject

    C 1 Reply Last reply
    0
    • L lgatcodeproject

      Hi, I have created a dll in VC++ and an EXE that uses this dll. One of the function called Open(..) present in dll connect to a server. My exe calls this Open(..) function. when I run my exe for the first time it connects to the server. All the other tries fails. But if I run the exe in debug mode it works. what would be the problem Can any one help? Thank you. Regards, lg.

      lgatcodeproject

      C Offline
      C Offline
      Cedric Moonen
      wrote on last edited by
      #2

      That has probably nothing to do with the fact that it is a dll. Did you try to paste the code from Open in the exe directly to see what's happening ? Does it also fail ?

      Cédric Moonen Software developer
      Charting control [v1.2]

      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